Android ViewPager滑动像笔记本页面更改 [英] Android ViewPager swipe like notebook page change

查看:81
本文介绍了Android ViewPager滑动像笔记本页面更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想添加笔记本类型ViewPager以像笔记本页面一样滑动.我了解简单的ViewPager.那我该怎么办呢?我可以为此使用动画或任何可用的库吗?

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?

推荐答案

您需要像在笔记本电脑中那样实现翻转效果.

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
  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.

希望这会有所帮助!

这篇关于Android ViewPager滑动像笔记本页面更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆