# CircleRefreshLayout **Repository Path**: Calvin_00/CircleRefreshLayout ## Basic Information - **Project Name**: CircleRefreshLayout - **Description**: a custom pull-to-refresh layout which contains a interesting animation - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-23 - **Last Updated**: 2024-12-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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