链接地址:
https://github.com/chrisbanes/Android-PullToRefresh
Pull To Refresh Views for Android
This project aims to provide a reusable Pull to Refresh widget for Android. It was originally based on Johan Nilsson's library (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 (Tested on 1.6+)
- Works for all AbsListView derived classes. ListView, ExpandableListView & GridView have been implemented.
- Also Works with WebView!
- Integrated End of List Listener for use of detecting when the user has scrolled to the bottom.
- Maven Support (thanks to Stefano Dacchille)
- Indicators to show the user when a Pull-to-Refresh is available
- Lots of Customisation options!
Repository at https://github.com/chrisbanes/Android-PullToRefresh.
Usage
To begin using the libary, please see the Quick Start Guide page.
Customisation
Please see the 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 page for more information on how to set this.
相关推荐
Entertain your app users while they are waiting for refreshment — it’s easy with Fireworky Pull To Refresh library for Android apps. Check out the animation on the Fireworky Pull To Refresh for ...
This project aims to provide a reusable Pull to Refresh widget for Android. It was originally based on Johan Nilsson's library (mainly for graphics, strings and animations), but these have been ...
Android-PullToRefresh Android-PullToRefresh 复活了,一个强大的Andriod...This project aims to provide a reusable Pull to Refresh widget for Android. It was originally based on Johan Nilsson's library (main
适用于 Android 的可重用 Pull to Refresh 库。 设置 Maven: < groupId>com.dsiner.lib</ groupId> < artifactId>pulllayout < version>2.0.0 或Gradle: // AndroidX implementation ' ...
"Pull-To-Refresh",又称为下拉刷新,是一种常见的用户界面交互模式,特别是在移动设备上的应用中,如iOS和Android的应用程序。这种设计模式允许用户通过在列表顶部向下拉动来触发数据的更新,通常用于获取最新的...
This project aims to provide a reusable Pull to Refresh widget for Android. It was originally based on Johan Nilsson's library (mainly for graphics, strings and animations), but these have been ...
Pull To Refresh Views for Android
Phoenix Pull-to-Refresh This project aims to provide a simple and customizable pull to refresh implementation. Made in [Yalantis] (https://yalantis.com/?utm_source=github) Check this [project on ...
Thanks to Yalantis for creating a great logic of PullToRefresh. And that's logic is the fundation of PullLaunchRocket also. Give me a Star please :D And welcome to contact me or make a PR if you have ...
FastListApplication For AndroidPull to refresh the list quickly integrated(上下拉刷新列表快速集成)+Common Adapter (快速适配器)A few lines of code(几行代码即可)to release to jcenter, let it can ...
Android提供了SwipeRefreshLayout库来实现Pull to Refresh,而滑动删除则通常需要自定义触摸监听器和动画来完成。 8. **Sectioning and Grouping** 对于有分组需求的数据展示,可以使用StaggeredGridLayoutManager...
轻量级而又无所不能.zip,A pull to refresh layout for android, the RecyclerRefreshLayout is based on the SwipeRefreshLayout. support all the views, highly customizable, code simplicity, etc. really a ...
a widget provided to the flutter scroll component drop-down refresh and pull up load.support android and ios. If you are Chinese,click here(中文文档) (Suspend maintenance until 12 months after the end...
* @description An ListView support (a) Pull down to refresh, (b) Pull up to load more. * Implement IXListViewListener, and see stopRefresh() / stopLoadMore(). */ package ...
下拉刷新(Pull-to-Refresh)功能允许用户通过向下拉动列表来获取最新数据。这种功能常见于新闻应用、社交媒体等,更新内容时非常便捷。实现下拉刷新通常使用SwipeRefreshLayout组件,它可以包裹一个ListView或...
This project aims to provide a reusable Pull to Refresh widget for Android. It was originally based on Johan Nilsson is library (mainly for graphics, strings and animations), but these have been ...
首先,让我们来看看“下拉刷新”(Pull-to-Refresh)功能。在Android中,我们可以使用SwipeRefreshLayout作为容器来包裹ListView,以实现下拉刷新的效果。SwipeRefreshLayout提供了一个可滑动的刷新指示器,当用户在...
A RecyclerView that is powered...Pull-to-refresh (backed by SwipeRefreshLayout) Infinite scrolling (callback for more data fetching) Section headers (backed by SuperSLiM) How To Include It: allprojects
Using Android's new android.media.MediaMetadata series api to implement. (For Chinese 中文戳这里) Pre-requisites Android SDK v14 Features Local music browser and player. Music player widget, ...
// the interface to trigger refresh and load more. protected IXListViewLoadMore mLoadMore; protected IXListViewRefreshListener mOnRefresh; // -- header view protected XListViewHeader mHeaderView;...