Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

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.