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
After configuration, instantiate the transformer animation you wish to use and set it as the [page transformer](http://developer.android.com/reference/android/support/v4/view/ViewPager.html#setPageTransformer(boolean, android.support.v4.view.ViewPager.PageTransformer)).
19
+
After configuration, instantiate the transformer animation you wish to use and set it as the [page transformer](https://developer.android.com/reference/android/support/v4/view/ViewPager.html#setpagetransformer_1).
20
20
21
21
```java
22
22
// Reference (or instantiate) a ViewPager instance and apply a transformer
@@ -30,11 +30,11 @@ pager.setPageTransformer(true, new RotateUpTransformer());
30
30
All ViewPagerTransform implementations extend [ABaseTransformer](https://github.com/ToxicBakery/ViewPagerTransforms/blob/master/library/src/main/java/com/ToxicBakery/viewpager/transforms/ABaseTransformer.java) providing useful hooks improving readability of animations and basic functionality important when switching between animations. [ABaseTransformer](https://github.com/ToxicBakery/ViewPagerTransforms/blob/master/library/src/main/java/com/ToxicBakery/viewpager/transforms/ABaseTransformer.java) provides three lifecycle hooks and two flags for default handling of hiding offscreen fragments and mimicking the default paging functionality of the ViewPager.
* Default implementation does nothing. This provides a logical location for any additional work to be done that is not directly related to the animation.
37
+
* Default implementation does nothing. This provides a logical location for any additional work to be done that is not directly related to the animation.
38
38
39
39
## Building
40
40
This project is built with Gradle using the Gradle Wrapper script.
0 commit comments