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

https://github.com/tuesda/CircleRefreshLayout

a custom pull-to-refresh layout which contains a interesting animation
https://github.com/tuesda/CircleRefreshLayout

Last synced: about 1 month ago
JSON representation

a custom pull-to-refresh layout which contains a interesting animation

Awesome Lists containing this project

README

        

This is a project with custom pull-to-refresh layout which contains a interesting animation. And the animation is inspired by made by Ramotion.

###Demo###

![](gif/circlerefresh.gif)

###Usage###

``` xml



```

Call back when refresh starts and complete:

``` java
mRefreshLayout.setOnRefreshListener(
new CircleRefreshLayout.OnCircleRefreshListener() {
@Override
public void refreshing() {
// do something when refresh starts
}

@Override
public void completeRefresh() {
// do something when refresh complete
}
});
```

when refreshing is done(for example, the image loading completes), you can invoke:

``` java
mRefreshLayout.finishRefreshing();
```

###License###
MIT