Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Aspsine/SwipeToLoadLayout
A reusable pull-to-refresh and pull-to-loadmore widget
https://github.com/Aspsine/SwipeToLoadLayout
Last synced: about 1 month ago
JSON representation
A reusable pull-to-refresh and pull-to-loadmore widget
- Host: GitHub
- URL: https://github.com/Aspsine/SwipeToLoadLayout
- Owner: Aspsine
- Created: 2015-09-02T02:45:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-29T09:36:28.000Z (about 6 years ago)
- Last Synced: 2024-10-29T17:42:08.859Z (about 1 month ago)
- Language: Java
- Homepage:
- Size: 17.4 MB
- Stars: 2,098
- Watchers: 69
- Forks: 444
- Open Issues: 48
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-android-ui - SwipeToLoadLayout - 可重用下拉刷新及上拉加载更多组件 (下拉刷新)
README
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-SwipeToLoadLayout-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/2812)
# SwipeToLoadLayout
SwipeToLoadLayout is a reusable pull-to-refresh and pull-to-load-more widget.## Supported View
Theoretically support all kinds of views.## Demo
[Download](https://raw.githubusercontent.com/Aspsine/SwipeToLoadLayout/master/art/demo.apk)## Demo ScreenShot & Video(Youtube)
- ListView & GridView[![ListView & GridView](http://img.youtube.com/vi/ThIKO3vz6Bs/0.jpg)](https://youtu.be/ThIKO3vz6Bs)
- RecyclerView(With all kinds of layoutManagers)
[![RecyclerView](http://img.youtube.com/vi/ZVYkoi84Vr8/0.jpg)](https://youtu.be/ZVYkoi84Vr8)
- WebView & ScrollView & Other Views
[![WebView & ScrollView & other views](http://img.youtube.com/vi/RGtWvdrVmGM/0.jpg)](https://youtu.be/RGtWvdrVmGM)
- Google SwipeRefreshLayout style
[![Google Style](http://img.youtube.com/vi/38NbDiUoXmg/0.jpg)](https://youtu.be/38NbDiUoXmg)
- JD.com Style
[![JD Style](http://img.youtube.com/vi/QrsZ5nygTp0/0.jpg)](https://youtu.be/QrsZ5nygTp0)
- Yalantis Phoenix Style
[![Yalantis Phoenix Style](http://img.youtube.com/vi/FAqrzSjt85c/0.jpg)](https://youtu.be/FAqrzSjt85c)
You can also create your own header and footer. It's very simple.
## How to
- Step 1. Add the JitPack repository in your build.gradle at the end of repositories:
```
repositories {
maven { url "https://jitpack.io" }
}
```
- Step 2. Add the dependency in the form
```
dependencies {
compile 'com.github.Aspsine:SwipeToLoadLayout:1.0.4'
}
```
- Step 3.
Look over [Quick Setup](https://github.com/Aspsine/SwipeToLoadLayout/wiki/Quick-Setup) for more details.
You can find more customized header view and footer view in the demo app.## Thanks
- Google SwipeRefreshLayout
- [liaohuqiu android-Ultra-Pull-To-Refresh](https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh)
- [Yalantis Phoenix](https://github.com/Yalantis/Phoenix)## Contact Me
- Github: github.com/aspsine
- Email: [email protected]
- WeiBo: [@Aspsine](http://weibo.com/wetze)
- Linkedin: cn.linkedin.com/in/aspsine## License
Copyright 2015 Aspsine. All rights reserved.
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 athttp://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.