Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/race604/FlyRefresh

The implementation of https://dribbble.com/shots/2067564-Replace
https://github.com/race604/FlyRefresh

Last synced: 2 months ago
JSON representation

The implementation of https://dribbble.com/shots/2067564-Replace

Lists

README

        

# FlyRefresh
The Android implementation of [Replace](https://dribbble.com/shots/2067564-Replace), designed by [Zee Youn](https://dribbble.com/zeeyoung).
I implement this as a **FlyRefresh** layout. The content of the layout can be any `NestedScrollingChild`, such as a RecyclerView, NestedScrollView, VerticalGridView, etc.
This library can also work with `NestedScrollingParent` as parent, such as CoordinatorLayout.

# How it looks
![flyrefresh](./images/flyrefresh.gif)

# Features
* Work with all [NestedScrollingParent](https://developer.android.com/reference/android/support/v4/view/NestedScrollingParent.html) and [NestedScrollingChild](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild.html)
* Default minimize configuration for [Replace](https://dribbble.com/shots/2067564-Replace) animation
* Expendable/Shrinkable header
* Support custom header view
* Support custom refresh animation

# How to use

Add Gradle dependency:

```gradle
dependencies {
compile 'com.race604.flyrefresh:library:2.0.0'
}
```

An example of basic usage in `layout.xml`:

```xml

```

Or you can use `PullHeaderLayout` for more configurations, you can set custom attributes as shown below:

```xml










```
For more, please turn to the source code.

# License
`FlyRefresh` is available under the MIT license.