tt_mc

导航

SwipeToLoadLayout

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.

posted on 2018-03-04 12:51  tt_mc  阅读(246)  评论(0编辑  收藏  举报