# PLEASE NOTE, THIS PROJECT IS NO LONGER BEING MAINTAINED
* * *
# Pull To Refresh Views for Android
![Screenshot](https://github.com/chrisbanes/Android-PullToRefresh/raw/master/header_graphic.png)
This project aims to provide a reusable Pull to Refresh widget for Android. It was originally based on Johan Nilsson's [library](https://github.com/johannilsson/android-pulltorefresh) (mainly for graphics, strings and animations), but these have been replaced since.
## Features
* Supports both Pulling Down from the top, and Pulling Up from the bottom (or even both).
* Animated Scrolling for all devices.
* Over Scroll supports for devices on Android v2.3+.
* Currently works with:
* **ListView**
* **ExpandableListView**
* **GridView**
* **WebView**
* **ScrollView**
* **HorizontalScrollView**
* **ViewPager**
* Integrated End of List Listener for use of detecting when the user has scrolled to the bottom.
* Maven Support.
* Indicators to show the user when a Pull-to-Refresh is available.
* Support for **ListFragment**!
* Lots of [Customisation](https://github.com/chrisbanes/Android-PullToRefresh/wiki/Customisation) options!
Repository at <https://github.com/chrisbanes/Android-PullToRefresh>.
## Sample Application
The sample application (the source is in the repository) has been published onto Google Play for easy access:
[![Get it on Google Play](http://www.android.com/images/brand/get_it_on_play_logo_small.png)](http://play.google.com/store/apps/details?id=com.handmark.pulltorefresh.samples)
## Usage
To begin using the library, please see the [Quick Start Guide](https://github.com/chrisbanes/Android-PullToRefresh/wiki/Quick-Start-Guide) page.
### Customisation
Please see the [Customisation](https://github.com/chrisbanes/Android-PullToRefresh/wiki/Customisation) page for more information on how to change the behaviour and look of the View.
### Pull Up to Refresh
By default this library is set to Pull Down to Refresh, but if you want to allow Pulling Up to Refresh then you can do so. You can even set the View to enable both Pulling Up and Pulling Down using the 'both' setting. See the [Customisation](https://github.com/chrisbanes/Android-PullToRefresh/wiki/Customisation) page for more information on how to set this.
## Apps
Want to see which Apps are already using Android-PullToRefresh? Have a look [here](https://github.com/chrisbanes/Android-PullToRefresh/wiki/Apps). If you have an App which is not on the list, [let me know](http://www.senab.co.uk/contact/).
## Changelog
Please see the new [Changelog](https://github.com/chrisbanes/Android-PullToRefresh/wiki/Changelog) page to see what's recently changed.
## Pull Requests
I will gladly accept pull requests for fixes and feature enhancements but please do them in the dev branch. The master branch is for the latest stable code, dev is where I try things out before releasing them as stable. Any pull requests that are against master from now on will be closed asking for you to do another pull against dev.
## Acknowledgments
* [Stefano Dacchille](https://github.com/stefanodacchille)
* [Steve Lhomme](https://github.com/robUx4)
* [Maxim Galkin](https://github.com/mgalkin)
* [Scorcher](https://github.com/Scorcher)
## License
Copyright 2011, 2012 Chris Banes
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
没有合适的资源?快使用搜索试试~ 我知道了~
PullToRefresh-完整_添加下拉上拉刷新区分
共261个文件
class:95个
xml:60个
java:43个
需积分: 9 7 下载量 100 浏览量
2015-12-22
23:30:42
上传
评论
收藏 1.48MB RAR 举报
温馨提示
开源项目PullToRefresh是一个非常强大的上拉/下拉刷新库,但是源码中在刷新的时候没有区分是上拉的刷新还是下拉的刷新,这里做了一些修改,实现该功能
资源推荐
资源详情
资源评论
收起资源包目录
PullToRefresh-完整_添加下拉上拉刷新区分 (261个子文件)
jarlist.cache 119B
jarlist.cache 119B
jarlist.cache 119B
jarlist.cache 119B
PullToRefreshBase.class 31KB
PullToRefreshAdapterViewBase.class 12KB
LoadingLayout.class 10KB
PullToRefreshListView.class 8KB
PullToRefreshListActivity.class 6KB
IndicatorLayout.class 6KB
FlipLoadingLayout.class 5KB
PullToRefreshWebView.class 5KB
OverscrollHelper.class 5KB
RotateLoadingLayout.class 4KB
PullToRefreshGridActivity.class 4KB
PullToRefreshHorizontalScrollView.class 3KB
PullToRefreshScrollView.class 3KB
PullToRefreshListActivity$GetDataTask.class 3KB
SoundPullEventListener.class 3KB
PullToRefreshBase$AnimationStyle.class 3KB
PullToRefreshExpandableListView.class 3KB
PullToRefreshGridView.class 3KB
PullToRefreshListFragmentActivity.class 3KB
PullToRefreshViewPager.class 3KB
PullToRefreshWebView2.class 3KB
LauncherActivity.class 3KB
PullToRefreshViewPagerActivity.class 3KB
PullToRefreshBase$Mode.class 3KB
LoadingLayoutProxy.class 2KB
PullToRefreshBase$SmoothScrollRunnable.class 2KB
PullToRefreshExpandableListActivity.class 2KB
IPullToRefresh.class 2KB
PullToRefreshGridActivity$GetDataTask.class 2KB
PullToRefreshListView$InternalListView.class 2KB
PullToRefreshListInViewPagerActivity.class 2KB
PullToRefreshHorizontalScrollViewActivity.class 2KB
PullToRefreshListInViewPagerActivity$ListViewPagerAdapter.class 2KB
PullToRefreshListFragmentActivity$GetDataTask.class 2KB
PullToRefreshHorizontalScrollView$InternalHorizontalScrollViewSDK9.class 2KB
PullToRefreshBase$State.class 2KB
PullToRefreshViewPagerActivity$SamplePagerAdapter.class 2KB
PullToRefreshWebView$InternalWebViewSDK9.class 2KB
PullToRefreshViewPagerActivity$GetDataTask.class 2KB
PullToRefreshScrollView$InternalScrollViewSDK9.class 2KB
PullToRefreshScrollViewActivity.class 2KB
PullToRefreshListInViewPagerActivity$GetDataTask.class 2KB
PullToRefreshHorizontalScrollViewActivity$GetDataTask.class 2KB
PullToRefreshExpandableListActivity$GetDataTask.class 2KB
R$styleable.class 2KB
PullToRefreshWebView2Activity.class 2KB
PullToRefreshScrollViewActivity$GetDataTask.class 2KB
PullToRefreshBaseListFragment.class 2KB
PullToRefreshExpandableListView$InternalExpandableListViewSDK9.class 2KB
PullToRefreshGridView$InternalGridViewSDK9.class 1KB
PullToRefreshListView$InternalListViewSDK9.class 1KB
R$attr.class 1KB
PullToRefreshWebViewActivity.class 1KB
ViewCompat.class 1KB
PullToRefreshWebView$1.class 1KB
PullToRefreshBase$Orientation.class 1KB
PullToRefreshExpandableListView$InternalExpandableListView.class 1KB
PullToRefreshExpandableListFragment.class 1KB
PullToRefreshWebView2Activity$SampleWebViewClient.class 1KB
R$id.class 1KB
PullToRefreshGridView$InternalGridView.class 1KB
PullToRefreshBase$3.class 1KB
PullToRefreshListFragment.class 1KB
PullToRefreshWebViewActivity$SampleWebViewClient.class 1KB
PullToRefreshWebView2$JsValueCallback.class 1KB
ViewCompat$SDK16.class 1KB
PullToRefreshBase$1.class 1019B
Utils.class 920B
PullToRefreshWebView$2.class 908B
PullToRefreshBase$OnPullEventListener.class 896B
R$string.class 876B
R.class 841B
PullToRefreshBase$2.class 777B
ViewCompat$SDK11.class 774B
R$dimen.class 764B
R$drawable.class 721B
R$anim.class 662B
R$layout.class 590B
R.class 552B
R$layout.class 546B
PullToRefreshBase$OnRefreshListener2.class 542B
R$layout.class 537B
R$id.class 515B
R.class 497B
PullToRefreshBase$OnRefreshListener.class 496B
R$attr.class 424B
R$attr.class 415B
ILoadingLayout.class 412B
BuildConfig.class 401B
BuildConfig.class 395B
BuildConfig.class 377B
BuildConfig.class 377B
PullToRefreshBase$OnSmoothScrollFinishedListener.class 342B
PullToRefreshBase$OnLastItemVisibleListener.class 327B
EmptyViewMethodAccessor.class 250B
.classpath 364B
共 261 条
- 1
- 2
- 3
资源评论
yuyan19850204
- 粉丝: 14
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功