You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a requirement that SwipeRefreshLayout only request the network once in five minutes. But after interception, the loading progress circle keeps turning. I want to close the loading progress circle after successful interception.How can I solve it?
I have a requirement that SwipeRefreshLayout only request the network once in five minutes. But after interception, the loading progress circle keeps turning. I want to close the loading progress circle after successful interception.How can I solve it?
RxSwipeRefreshLayout.refreshes(refreshLayout)
.throttleFirst(5,TimeUnit.MINUTES)
.subscribe(o -> {
Toast.makeText(getActivity(),"Network requesting",Toast.LENGTH_SHORT).show();
refreshLayout.setRefreshing(false);
});
The text was updated successfully, but these errors were encountered: