Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

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.