Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

SwipeRefreshLayout.OnRefreshListener

public static interface SwipeRefreshLayout.OnRefreshListener

androidx.swiperefreshlayout.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

public abstract void onRefresh ()

Called when a swipe gesture triggers a refresh.