Android ViewPager swipe like notebook page change

孤者浪人 提交于 2019-12-24 05:38:20

问题


I want to add notebook type ViewPager to swipe like notebook page. I know about simple ViewPager. So how can i=I do that? Can I use animation for that or any library available?


回答1:


You need to implement Flip Effect as in a Notebook..

The following three open source libraries will help :

  1. JazzyViewPager : https://github.com/jfeinstein10/JazzyViewPager
  2. CardFlipAnimation : https://github.com/balesz/android-tutorial-CardFlipAnimation
  3. Android Page Curl: https://github.com/MysticTreeGames/android-page-curl

The above three libraries can be used to produce an animation like changing the page of a book.

Hope this helps!



来源:https://stackoverflow.com/questions/30635109/android-viewpager-swipe-like-notebook-page-change

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!