I enabled "pull to refresh" to my project using the SwipeRefreshLayout
.
When I move down, appear the loading indicator (material design style). I know, it must so work, but I want to disable this function, and start refreshing by click some button and use SwipeRefreshLayout
loading indicator.
How I can to do this?
setEnabled(false)
just once, and thensetRefreshing(true or false)
– Extirpate