The Android Developer Challenge is back! Submit your idea before December 2.

OnRefreshListener

interface 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 Unit

Called when a swipe gesture triggers a refresh.

Public methods

onRefresh

abstract fun onRefresh(): Unit

Called when a swipe gesture triggers a refresh.