文件名称:Android-DirectionalViewPager

  • 所属分类:
  • android开发
  • 资源属性:
  • [Android] [Java] [源码]
  • 上传时间:
  • 2015-03-20
  • 文件大小:
  • 546kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 陈*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

DirectionalViewPager支持横向和纵向的ViewPager

项目地址:

https://github.com/JakeWharton/Android-DirectionalViewPager



这个别人已经试过了:



Android之仿网易V3.5新特性http://blog.csdn.net/way_ping_li/article/details/9359191



我只是重新测试了一下,感觉可以用。

只是要注意,需要导入-v4.jar包,并且VerticalViewPagerCompat.java一定要放在android.support.v4.view包中,具体见附件。



用法同ViewPager几乎一样,只要设定

viewPager.setOrientation(com.mobovip.views.DirectionalViewPager.VERTICAL)

就可以纵向滑动了。

参考代码如下:-DirectionalViewPager support horizontal and vertical ViewPager

Project Address:

https://github.com/JakeWharton/Android-DirectionalViewPager



The others have tried:



Android V3.5 new features of imitation Netease http://blog.csdn.net/way_ping_li/article/details/9359191



I just re-test a little, feeling can be used.

Just pay attention to the need to import-v4.jar package and VerticalViewPagerCompat.java android.support.v4.view package must be placed in a specific annex.



Usage with ViewPager almost as long as the set

viewPager.setOrientation (com.mobovip.views.DirectionalViewPager.VERTICAL)

You can slide longitudinally up.

Reference code:
(系统自动生成,下载前可以参看下载内容)

下载文件列表





Android-DirectionalViewPager\.gitignore

............................\CHANGELOG.md

............................\library\AndroidManifest.xml

............................\.......\checkstyle.xml

............................\.......\libs\android-support-v4.jar

............................\.......\pom.xml

............................\.......\project.properties

............................\.......\src\android\support\v4\view\VerticalViewPagerCompat.java

............................\.......\...\com\directionalviewpager\DirectionalViewPager.java

............................\LICENSE.txt

............................\pom.xml

............................\README.md

............................\sample\AndroidManifest.xml

............................\......\icon_web.png

............................\......\libs\android-support-v4.jar

............................\......\logo.png

............................\......\logo.psd

............................\......\pom.xml

............................\......\project.properties

............................\......\res\drawable-hdpi\icon.png

............................\......\...\.............\Thumbs.db

............................\......\...\.........mdpi\icon.png

............................\......\...\.............\Thumbs.db

............................\......\...\.........xhdpi\icon.png

............................\......\...\..............\Thumbs.db

............................\......\...\layout\main.xml

............................\......\screens.png

............................\......\.rc\com\directionalviewpager\sample\SampleActivity.java

............................\......\...\...\....................\......\TestFragment.java

............................\......\...\...\....................\......\TestFragmentAdapter.java

............................\......\Thumbs.db

............................\library\src\android\support\v4\view

............................\.......\...\.......\.......\v4

............................\sample\src\com\directionalviewpager\sample

............................\library\src\android\support

............................\.......\...\com\directionalviewpager

............................\sample\src\com\directionalviewpager

............................\library\src\android

............................\.......\...\com

............................\sample\res\drawable-hdpi

............................\......\...\drawable-mdpi

............................\......\...\drawable-xhdpi

............................\......\...\layout

............................\......\src\com

............................\library\libs

............................\.......\src

............................\sample\libs

............................\......\res

............................\......\src

............................\library

............................\sample

Android-DirectionalViewPager

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org