zoukankan      html  css  js  c++  java
  • 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.
  • 相关阅读:
    【9018:2221】[伪模板]可持久化线段树
    【9018:2208】可持久化线段树2
    【9018:2207】可持久化线段树1
    【POJ2187】Beauty Contest
    2017/11/22模拟赛
    2017/11/3模拟赛
    [AtCoder 2702]Fountain Walk
    [AtCoder3856]Ice Rink Game
    20170910模拟赛
    20170906模拟赛
  • 原文地址:https://www.cnblogs.com/tt_mc/p/8504380.html
Copyright © 2011-2022 走看看