Package dev. icerock. moko. mvvm. livedata. swiperefresh
Functions
bindToSwipeRefreshLayoutRefreshing
Link copied to clipboard
fun MutableLiveData<Boolean>.bindToSwipeRefreshLayoutRefreshing(lifecycleOwner: LifecycleOwner, swipeRefreshLayout: SwipeRefreshLayout)
Content copied to clipboard
setRefreshAction
Link copied to clipboard
fun SwipeRefreshLayout.setRefreshAction(block: (completion: () -> Unit) -> Unit)
Content copied to clipboard
fun SwipeRefreshLayout.setRefreshAction(coroutineScope: CoroutineScope, block: suspend () -> Unit)
Content copied to clipboard