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
Updated version;
Updated README - updated sample.
Created FragmentPagerAdapter for using with android.app.Fragment;
Created TutorialSupportFragment and PageSupportFragment for using with appcompat library;
Added checks inside FragmentPagerAdapter for setUserVisibilityHint();
Removed TutorialPageSupportProvider;
Generify TutorialOptions, TutorialPageProvider;
Created common realization for tutorials fragments and pages fragments;
Updated samples;
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9-1
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ v.0.9 | First public release
26
26
* Created [TutorialPageIndicator] view.
27
27
* Created [IndicatorOptions] to configure [TutorialPageIndicator] view.
28
28
* Created [Renderer] interface that responds for drawing single indicator item. There are 2 default implementaion: [Renderer.Factory#newCircleRenderer()] and [Renderer.Factory#newSquareRenderer()].
29
+
* Created [TutorialSupportFragment] and [PageSupportFragment] for use with **AppCompat** library. [TutorialFragment] and [PageFragment] now using **android.app.Fragment**.
29
30
30
31
## Support
31
32
If you have any questions regarding the use of this tutorial, please contact us for support
@@ -37,10 +38,14 @@ at [email protected] (email subject: «Sliding android app tutorial. Support re
Copy file name to clipboardExpand all lines: MIGRATION.md
+56-2
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,59 @@
5
5
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*.
6
6
2. Your fragment with tutorial must extend [TutorialFragment] instead of **PresentationPagerFragment**.
7
7
3. In your [TutorialFragment] successor fragment must implement [TutorialFragment#provideTutorialOptions()] method that returns [TutorialOptions] instance.
0 commit comments