이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.
added in version 22.1.0
belongs to Maven artifact com.android.support:swiperefreshlayout:28.0.0-alpha1

SwipeRefreshLayout.OnRefreshListener

public static interface SwipeRefreshLayout.OnRefreshListener

android.support.v4.widget.SwipeRefreshLayout.OnRefreshListener


Classes that wish to be notified when the swipe gesture correctly triggers a refresh should implement this interface.

Summary

Public methods

abstract void onRefresh()

Called when a swipe gesture triggers a refresh.

Public methods

onRefresh

added in version 22.1.0
void onRefresh ()

Called when a swipe gesture triggers a refresh.