# 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 下拉刷新部件 (151个子文件)
config 280B
description 73B
exclude 240B
.gitignore 217B
HEAD 195B
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 45KB
PullToRefreshAdapterViewBase.java 14KB
LoadingLayout.java 12KB
PullToRefreshListView.java 10KB
IPullToRefresh.java 8KB
OverscrollHelper.java 8KB
PullToRefreshListActivity.java 7KB
PullToRefreshWebView.java 5KB
IndicatorLayout.java 5KB
PullToRefreshGridActivity.java 5KB
FlipLoadingLayout.java 5KB
PullToRefreshExpandableListActivity.java 4KB
PullToRefreshWebView2.java 4KB
PullToRefreshListFragmentActivity.java 4KB
PullToRefreshHorizontalScrollView.java 3KB
RotateLoadingLayout.java 3KB
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 2KB
PullToRefreshHorizontalScrollViewActivity.java 2KB
PullToRefreshScrollViewActivity.java 2KB
PullToRefreshViewPager.java 2KB
ViewCompat.java 2KB
PullToRefreshExpandableListFragment.java 2KB
PullToRefreshListFragment.java 2KB
PullToRefreshWebViewActivity.java 2KB
LoadingLayoutProxy.java 2KB
ILoadingLayout.java 2KB
EmptyViewMethodAccessor.java 1KB
Utils.java 345B
wallpaper.jpg 92KB
51834d175dda8_middle.jpg 20KB
LICENSE 11KB
LICENSE 11KB
LICENSE 11KB
LICENSE 11KB
master 195B
master 41B
README.md 4KB
reset_sound.mp3 7KB
refreshing_sound.mp3 7KB
pull_event.mp3 7KB
pack-31530123d0cc4657d2d0774847197c67f4887cfc.pack 1.63MB
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 698B
project.properties 626B
project.properties 626B
project.properties 525B
project.properties 382B
pre-rebase.sample 5KB
update.sample 4KB
pre-commit.sample 2KB
prepare-commit-msg.sample 1KB
commit-msg.sample 896B
applypatch-msg.sample 452B
pre-applypatch.sample 398B
post-update.sample 189B
proguard-project.txt 781B
readme.txt 275B
readme.txt~ 543B
pom.xml 4KB
attrs.xml 4KB
strings.xml 3KB
activity_ptr_horizontalscrollview.xml 2KB
AndroidManifest.xml 2KB
共 151 条
- 1
- 2
资源评论
by2n
- 粉丝: 106
- 资源: 36
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 数据库基本内容讲解和操作
- Centos8.x通过RPM包升级OpenSSH9.9.(openssl-3.4.0) 升级有风险,前务必做好快照,以免升级后出现异常影响业务
- FortFirewall-3.14.7-windows10-x86-64 防火墙
- javaweb基本操作
- Centos7.x升级openssl-1.1.1w rpm安装包 升级有风险,前务必做好快照,以免升级后出现异常影响业务
- yolo的基本操作用法
- Ubuntu20/22/24通过deb包升级OpenSSH9.9方法 不支持16、18版本,升级有风险,前务必做好快照,以免升级后出现异常影响业务
- java swing(Gui窗体)宿舍管理系统 (有附件)
- 数据集格式转换以及标注框可视化脚本
- 火狐国际开发版安装文件
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功