프로젝트
GitHub에서 보기
tuesda/CircleRefreshLayout
tuesda/CircleRefreshLayout has 1,758 GitHub stars and 358 forks. GitHot measured 0 stars in 24 hours, -2 in 7 days, and -3 in 15 days. Last checked 2026-11-22 23:49 UTC. Last push 2017-01-16.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- -2
- in 15 days
- -3
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
재미있는 애니메이션을 포함한 사용자 지정 당겨서 새로고침 레이아웃
창작 및 미디어README.md
OriginalThis is a project with custom pull-to-refresh layout which contains a interesting animation. And the animation is inspired by https://dribbble.com/shots/1797373-Pull-Down-To-Refresh made by Ramotion.
###Demo###
###Usage###
<com.tuesda.walker.circlerefresh.CircleRefreshLayout
xmlns:app="http://schemas.android.com/apk/res-auto"
app:AniBackColor="#ff8b90af"
app:AniForeColor="#ffffffff"
app:CircleSmaller="6"
android:id="@+id/refresh_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ListView
android:background="#ffffffff"
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"></ListView>
</com.tuesda.walker.circlerefresh.CircleRefreshLayout>
Call back when refresh starts and complete:
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:
mRefreshLayout.finishRefreshing();
###License### MIT
관련 프로젝트 살펴보기
불러오는 중…