SwipeRefreshExpandLayout - 支持自定義HeaderView和FooterView,支持下拉刷新和上拉加載更多

SwipeRefreshExpandLayout

拓展自SwipeRefreshLayout. 支持自定義HeaderView和FooterView,支持下拉刷新和上拉加載更多

警告!!!

此項目存在很多bug!本人也不負責維護!請慎用!!! 如果實在想用,又無法解決bug,請找下文中提到的大神……

支持的View

理論上支持所有的View 你也可以自定義自己喜歡的頭部和尾部,插件試替換,非常簡單哦!

Demo

How to

  • Step 1. 把 JitPack repository 添加到build.gradle文件中 repositories的末尾:
repositories {
    maven { url "https://jitpack.io" }
}
  • Step 2. 在你的app build.gradle 的 dependencies 中添加依賴
dependencies {
    compile 'com.github.alafighting:SwipeRefreshExpandLayout:v0.0.2'
}

致謝

License

Copyright 2015 alafighting. 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.

項目地址: https://github.com/alafighting/SwipeRefreshExpandLayout

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!