`
dengyin2000
  • 浏览: 1207988 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

Android-PullToRefresh 真正的模拟IOS的行为, 支持ListView GridView 顶部, 底部, both。

阅读更多
废话不说  直接上项目地址 https://github.com/chrisbanes/Android-PullToRefresh

Quick Start https://github.com/chrisbanes/Android-PullToRefresh/wiki/Quick-Start-Guide

行为外观定制 https://github.com/chrisbanes/Android-PullToRefresh/wiki/Customisation

引用
ptrAdapterViewBackground. Background to the AdapterView.
ptrHeaderBackground. Background of the Header/Footer Views.
ptrHeaderTextColor. Text Colour of the top line of text in the Header/Footer Views.
ptrHeaderSubTextColor. Text Colour of the bottom line of text in the Header/Footer Views.
ptrMode. Sets the Mode in which the Views will operate. Values are either pullDownFromTop, pullUpFromBottom or both. Defaults to pullDownFromTop.
ptrShowIndicator. Whether to show the Indicators showing the user whether a Pull-to-Refresh is possible. Defaults to true.
ptrDrawable. Drawable to show in the Header/Footer Views. Defaults to a refresh icon.
ptrOverScroll. Whether OverScroll support is enabled. Only takes affect when running on Android v2.3+ Defaults to true.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics