ToxicBakery / ViewPagerTransforms

Library containing common animations needed for transforming ViewPager scrolling for Android v13+.
https://toxicbakery.github.io/ViewPagerTransforms/
Apache License 2.0
2.57k stars 487 forks source link

How can i achieve the same thing with the vertical view pager? #42

Closed parin9097 closed 8 years ago

parin9097 commented 8 years ago

Such a great piece of transformations of the viewpager but i have the vertical viewpager and i have to use depth transformation in the vertical manner.How can i do that?

ToxicBakery commented 8 years ago

I would recommend copying the DepthPageTransformer implementation and going from there.

https://github.com/ToxicBakery/ViewPagerTransforms/blob/master/library/src/main/java/com/ToxicBakery/viewpager/transforms/DepthPageTransformer.java

As vertical viewpagers are not a standard implementation this library will not be directly supporting them. Feel free to fork and add vertical implementations of your own though.