# PullRefreshLayout(A mall, bouncy, refresh, loadMore lib) [![Stable Version](https://img.shields.io/badge/Stable%20Version-3.0.0-brightgreen.svg)](https://github.com/genius158/PullRefreshLayout) [![Latest Version](https://img.shields.io/badge/Latest%20Version-3.0.1-FFD54F.svg)](https://bintray.com/yan157/maven/pullrefreshlayout/_latestVersion) [![MinSdk](https://img.shields.io/badge/MinSdk-14%2B-green.svg)](https://android-arsenal.com/api?level=14) [![Methods](https://img.shields.io/badge/Methods%20and%20size-411%20%7C%2037%20KB-e91e63.svg)](http://www.methodscount.com/?lib=com.yan%3Apullrefreshlayout%3A2.1.0) ### [DEMO DOWNLOAD(Install the demo and try, maybe PullRefreshLayout is that what you want)](https://github.com/genius158/PullRefreshLayout/raw/master/demo.apk) Use with header and change state demo
![Use with header and change state demo](gif/new_demo.gif)
Secondary refresh
![Secondary refresh](gif/two_refresh.gif) ![Secondary refresh](gif/sliding_down.gif)
Nested Scroll
![Nested Scroll](gif/behavior1.gif) ![Nested Scroll](gif/behavior2.gif) ![Nested Scroll](gif/behavior3.gif)
Refresh header show in scroll part [Detail](https://github.com/genius158/PullRefreshLayout/blob/master/CUSTOM_DIDI_README.md)
![DIDI](gif/didi1.gif) ![Alipay](gif/didi2.gif)
hold footer
![hold footer](gif/load_hold.gif)
fun header from https://github.com/scwang90/SmartRefreshLayout
![fun header](gif/fun_header.gif)

include ViewPager demo: https://github.com/genius158/PullRefreshLayout/blob/developer/app/src/main/java/com/yan/refreshloadlayouttest/testactivity/CommonActivity5.java

include CoordinatorLayout demo:https://github.com/genius158/PullRefreshLayout/blob/developer/app/src/main/java/com/yan/refreshloadlayouttest/testactivity/ScrollingActivity.java
## 1.Summary ### 1.Main Features: - 1.Perfect support synchronous NestedScrolling width RecyclerView、AppBarLayout、CoordinatorLayout. - 2.Support all basic views(Include RecyclerView、NestedScrollView, TextView、ListView、ScrollerView、webView、LinearLayout etc.) - 3.Support cross-border rebound OverScroll animations is better than other libs. - 4.The touch event dell like application Tencent QQ. - 5.Support load more. - 6.Support custom rebound animation interpolator, to achieve a variety of cool animation effects - 7.Support preview in the Android Studio xml editor. - etc. ### 2.You can custom header and footer to realize various functions(Auto trigger loading、Fixed header、Secondary refresh etc.),the ways header and footer dragging out (PLACEHOLDER、FOLLOW、PLACEHOLDER_FOLLOW、CENTER、PLACEHOLDER_CENTER、FOLLOW_CENTER、CENTER_FOLLOW、FOLLOW_PLACEHOLDER)。 ps:This design is to make the lib small enough ## gradle [![Stable Version](https://img.shields.io/badge/Stable%20Version-3.0.1-brightgreen.svg)](https://github.com/genius158/PullRefreshLayout) ↘ compile 'com.yan:pullrefreshlayout:(↖)'
``` ``` ## 2. FAQ(Have any questions,commit issues) ## 3. the libs demo is using loading animation
AVLoadingIndicatorView(https://github.com/81813780/AVLoadingIndicatorView) ## LICENSE Copyright 2017 yan 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.