博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
SwipeToLoadLayout
阅读量:7229 次
发布时间:2019-06-29

本文共 1477 字,大约阅读时间需要 4 分钟。

SwipeToLoadLayout

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

Supported View

Theoretically support all kinds of views.

Demo

Demo ScreenShot & Video(Youtube)

  • ListView & GridView

  • RecyclerView(With all kinds of layoutManagers)

  • WebView & ScrollView & Other Views

  • Google SwipeRefreshLayout style

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

Thanks

  • Google SwipeRefreshLayout

Contact Me

  • Github: github.com/aspsine
  • Email: 
  • WeiBo: 
  • 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 at    http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.

转载地址:http://fldfm.baihongyu.com/

你可能感兴趣的文章
网站301跳转到新域名
查看>>
codewars020: The Clockwise Spiral 数字顺时针螺旋矩阵
查看>>
ios 下拉刷新
查看>>
Django在Windows系统下的安装配置
查看>>
懒到极致:对mybatis的进一步精简
查看>>
Android学习之OTA Update
查看>>
Maven Multi-environment package
查看>>
JMM-java内存模型
查看>>
iOS的soap应用(webservice) 开发
查看>>
Delphi listview 点击列头排序
查看>>
android preference page
查看>>
mysql索引挑选
查看>>
关于冰岛足球的段子
查看>>
在 Windows 中安装 Laravel 5.1.X
查看>>
TeamViewer 9发布-在Linux下安装运行
查看>>
Centos7 Gitea安装教程 - 一款易搭建,运行快的Git服务器
查看>>
CentOS minimal 网络配置
查看>>
Nginx架构
查看>>
为什么结构体中的数组不能用const int变量指定大小?
查看>>
模板特化疑问
查看>>