A reusable pull-to-refresh and pull-to-loadmore widget

Min SDK   10
Latest Commit   2017-04-17 17:34:30
License   

Github   https://github.com/Aspsine/SwipeToLoadLayout

         

使用APP客户端扫描二维码运行Demo


...

Aspsine
weibo.com
Beijing


I'm coding a world!

         

类似的还有....
ShootRefreshView It's an refresh animation that opens the shutter
PullLoadMoreRecyclerView 实现RecyclerView下拉刷新和上拉加载更多以及RecyclerView线性、网格、瀑布流效果演示
JellyRefreshLayout A pull-down-to-refresh layout inspired by Lollipop overscrolled effects
README

README.md

Android Arsenal

SwipeToLoadLayout

SwipeToLoadLayout is a reusable pull-to-refresh and pull-to-load-more widget.

Supported View

Theoretically support all kinds of views.

Demo

Download

Demo ScreenShot & Video(Youtube)

  • ListView & GridView

ListView & GridView

  • RecyclerView(With all kinds of layoutManagers)

RecyclerView

  • WebView & ScrollView & Other Views

WebView & ScrollView & other views

  • Google SwipeRefreshLayout style

Google Style

  • JD.com Style

JD Style

  • Yalantis Phoenix Style

Yalantis Phoenix Style

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 for more details. You can find more customized header view and footer view in the demo app.

Thanks

Contact Me

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 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.