# 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.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
android最好用的下拉刷新pullToRefresh (151个子文件)
config 340B
description 73B
exclude 240B
FETCH_HEAD 218B
.gitignore 245B
HEAD 194B
HEAD 194B
HEAD 32B
HEAD 23B
ptr_webview2_sample.html 3KB
pack-31530123d0cc4657d2d0774847197c67f4887cfc.idx 127KB
index 15KB
android-support-v4.jar 341KB
android-support-v4.jar 341KB
android-support-v4.jar 341KB
PullToRefreshBase.java 47KB
PullToRefreshAdapterViewBase.java 15KB
LoadingLayout.java 12KB
PullToRefreshListView.java 11KB
IPullToRefresh.java 8KB
OverscrollHelper.java 8KB
PullToRefreshListActivity.java 7KB
PullToRefreshWebView.java 5KB
IndicatorLayout.java 5KB
PullToRefreshGridActivity.java 5KB
FlipLoadingLayout.java 5KB
PullToRefreshWebView2.java 4KB
PullToRefreshExpandableListActivity.java 4KB
PullToRefreshListFragmentActivity.java 4KB
PullToRefreshHorizontalScrollView.java 4KB
RotateLoadingLayout.java 4KB
PullToRefreshExpandableListView.java 3KB
PullToRefreshScrollView.java 3KB
PullToRefreshViewPagerActivity.java 3KB
PullToRefreshListInViewPagerActivity.java 3KB
PullToRefreshGridView.java 3KB
SoundPullEventListener.java 3KB
PullToRefreshBaseListFragment.java 3KB
LauncherActivity.java 3KB
PullToRefreshWebView2Activity.java 3KB
PullToRefreshHorizontalScrollViewActivity.java 2KB
PullToRefreshScrollViewActivity.java 2KB
PullToRefreshViewPager.java 2KB
ViewCompat.java 2KB
PullToRefreshExpandableListFragment.java 2KB
PullToRefreshListFragment.java 2KB
LoadingLayoutProxy.java 2KB
PullToRefreshWebViewActivity.java 2KB
ILoadingLayout.java 2KB
EmptyViewMethodAccessor.java 1KB
Utils.java 358B
wallpaper.jpg 92KB
LICENSE 11KB
LICENSE 11KB
LICENSE 11KB
LICENSE 11KB
master 194B
master 41B
README.md 4KB
reset_sound.mp3 7KB
refreshing_sound.mp3 7KB
pull_event.mp3 7KB
pack-31530123d0cc4657d2d0774847197c67f4887cfc.pack 1.67MB
packed-refs 2KB
header_graphic.png 61KB
default_ptr_rotate.png 49KB
default_ptr_rotate.png 49KB
default_ptr_rotate.png 48KB
icon.png 4KB
android.png 3KB
default_ptr_flip.png 2KB
default_ptr_flip.png 2KB
default_ptr_flip.png 2KB
icon.png 1KB
icon.png 1KB
icon.png 902B
android.png 656B
indicator_arrow.png 445B
indicator_arrow.png 429B
indicator_arrow.png 390B
ant.properties 715B
project.properties 642B
project.properties 642B
project.properties 539B
project.properties 394B
pre-rebase.sample 5KB
update.sample 4KB
pre-commit.sample 2KB
pre-push.sample 1KB
prepare-commit-msg.sample 1KB
commit-msg.sample 896B
applypatch-msg.sample 452B
pre-applypatch.sample 398B
post-update.sample 189B
proguard-project.txt 801B
pom.xml 4KB
attrs.xml 4KB
strings.xml 3KB
activity_ptr_horizontalscrollview.xml 3KB
AndroidManifest.xml 2KB
共 151 条
- 1
- 2
资源评论
- yeye4546613962015-09-11还可以,可惜不是我想要的
- stay_stay2015-01-22不错,很不错的资源
- sinat_194013532015-01-21很给力,能用上...
- 我爱小肚肚2014-12-19不错,很不错的资源呀
c54104
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功