You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-77Lines changed: 23 additions & 77 deletions
Original file line number
Diff line number
Diff line change
@@ -234,7 +234,7 @@ public class CustomTutorialFragment extends TutorialFragment {
234
234
.setElementSpacingRes(R.dimen.indicator_spacing)
235
235
.setElementColorRes(android.R.color.darker_gray)
236
236
.setSelectedElementColor(android.R.color.white)
237
-
.setRenderer(BitmapRenderer.create(getContext()))
237
+
.setRenderer(Drawable.create(getContext()))
238
238
.build())
239
239
.build();
240
240
}
@@ -271,34 +271,7 @@ public class CustomTutorialFragment extends TutorialFragment
271
271
}
272
272
273
273
}
274
-
```
275
-
276
-
## Changelog
277
-
278
-
Version | Changes
279
-
--- | ---
280
-
v.1.0.0 | Library fully refactored. See full [1.0.0 Changelog](#100_Changelog)
281
-
v.0.9.5 | Added getters for views. Possible fix for manifest merging issues
282
-
v.0.9.4 | Renamed all attributes; all resources marked as private |
283
-
v.0.9.3 | Fixed issue with wrong page showed at startup if pages count not equals 3
284
-
v.0.9.2 | Added onSkipButtonClicked method and SimplePagerFragment
285
-
v.0.9.1 | Added infinite scroll behavior
286
-
v.0.9 | First public release
287
-
288
-
## 1.0.0 Changelog
289
-
* Renamed **PresentationPagerFragment** to [TutorialFragment].
290
-
* Made [PageFragment] not abstract with default implementaion for [PageFragment#getLayoutResId()] and [PageFragment#getTransformItems()].
291
-
* Removed capability to create new instance of [TransformItem] via `new`. Added fabric static method [TransformItem#create(int,Direction,float)].
292
-
* Created [OnTutorialPageChangeListener] to listen change page events.
293
-
* Use [TutorialFragment#addOnTutorialPageChangeListener()] and [TutorialFragment#removeOnTutorialPageChangeListener()] to add/remove listener.
294
-
* Created [TutorialOptions] to configure [TutorialFragment].
295
-
* Created [TutorialPageOptionsProvider] and [PageOptions] to provide and configure [PageFragment] instances.
296
-
* Created [TutorialPageProvider] to provide [PageFragment] instances.
297
-
* Removed **CirclePageIndicator**.
298
-
* Created [TutorialPageIndicator] view.
299
-
* Created [IndicatorOptions] to configure [TutorialPageIndicator] view.
300
-
* Created [Renderer] interface that responds for drawing single indicator item. There are 2 default implementaion: [Renderer.Factory#newCircleRenderer()] and [Renderer.Factory#newSquareRenderer()].
301
-
274
+
```
302
275
303
276
## Migrations from v.0.9.5 to v.1.0.0
304
277
1. You must change creation TransformItem from `new TransformItem(R.id.ivFirstImage, true, 20)` to `TransformItem.create(R.id.ivFirstImage, Direction.LEFT_TO_RIGHT, 0.2f)`, where 2-nd parameter now is **Direction** of view translation and 3-rd parameter is *shiftCoefficient*.
@@ -324,39 +297,10 @@ private final TutorialPageProvider mTutorialPageProvider = new TutorialPageProvi
324
297
}
325
298
};
326
299
```
300
+
See others [migration manuals].
327
301
328
-
## Migrations from v.0.9.3 to v.0.9.4
329
-
* All resources marked as private. Make sure you're not using any resource (strings, dimens, etc) from this library.
330
-
* All attributes were renamed, prefix `st_` added. Add this prefix to any custom XML attribute you used. Example:
This class is final now. Make sure you're not extending from it.
347
-
348
-
####LayersHolder
349
-
This class is package-local now. Make sure you're not using it.
350
-
351
-
####PageFragment
352
-
**getRootResId()** and **getBackgroundColorResId()** methods are deprecated. You can remove them now. To specify page's color use **PresentationPagerFragment.getPageColor(int)** method.
353
-
354
-
####PresentationPagerFragment
355
-
**getPageFragments()** method is deprecated. You can remove it now. Use **getPagesCount()** and **getPage(int)** methods instead.
356
-
357
-
Added **isInfinityScrollEnabled()** method. Override it and return `true` to enable this feature.
358
-
359
-
**NOTE:** make sure you're returning new fragment instance when displaying tutorial with infinite scroll enabled.
302
+
## Changelog
303
+
See [changelog history].
360
304
361
305
## Support
362
306
If you have any questions regarding the use of this tutorial, please contact us for support
@@ -393,6 +337,8 @@ at info@cleveroad.com (email subject: «Sliding android app tutorial. Support re
393
337
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0 commit comments