Skip to content
项目

dipanshukr/Viewpager-Transformation

在 GitHub 查看

关于

既然可以为 ViewPager 创建自己的变换,为什么还要使用依赖?

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

ViewPagerTransformations

Why use dependencies when you create your own transformations ?

In this post i am gonna show you some view pager 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.

You can download the latest sample APK from Google Play store:

Android app on Google Play

You can also see full video clip of all the transformations on YOUTUBE.

List of Transformations

Here is the list of transformations which you can check by clicking them :

探索相关项目

加载中…