In this post i am gonna show you some Viewpager animations. Animation in view pager is implemented using PageTransformer interface which is called whenever we slide view pager. It is called twice for every slide event, because atmost two pages are visible on the screen. The position for first page is between (-1,0) and second page is (0,1). In the idle state , 0 being the position of the page we are currenting viewing.
By implementing this you can achieve these amazing transformations for Viewpager by your own and also you can create your own transformations and name them as you wish.
List of Transformations
Here is the list of transformations which you can check by clicking them :
- Simple Transformation
- Depth Transformation
- Zoom Out Transformation
- Clock Spin Transformation
- AntiClock Spin Transformation
- Fidget Spin Transformation
- Vertical Flip Transformation
- Horizontal Flip Transformation
- Pop Transformation
- Fade Out Transformation
- Cube Out Transformation
- Cube In Transformation
- Cube Out Scaling Transformation
- Cube In Scaling Transformation
- Cube Out Depth Transformation
- Cube In Depth Transformation
- Hinge Transformation
- Gate Transformation
- Toss Transformation
- Fan Transformation
- Spinner Transformation
- Vertical Shut Transformation
No comments:
Post a Comment