超级课程表这样的,点击后详情页可以左右划的这种是怎么实现的?
认证0级讲师
You can use ViewPager and set a PageTransformer instance through the ViewPager.setPageTransformer (boolean reverseDrawingOrder, ViewPager.PageTransformer transformer) method to achieve this sliding effect. PagerTransformer interface
abstract void transformPage(View page, float position)
For demo, you can refer to Google’s official development documentation https://developer.android.com...
You can use ViewPager and set a PageTransformer instance through the ViewPager.setPageTransformer (boolean reverseDrawingOrder, ViewPager.PageTransformer transformer) method to achieve this sliding effect.
PagerTransformer interface
For demo, you can refer to Google’s official development documentation https://developer.android.com...