Closed DenisMondon closed 9 years ago
This is a bug of Android SwipeRefreshLayout
. UltimateRecyclerView
only call setRefreshing(boolean)
method of SwipeRefreshLayout
.
If you need to show indicator initially, you must use this:
ultimateRecyclerView.post(new Runnable() {
@Override
public void run() {
ultimateRecyclerView.setRefreshing(true);
}
});
Thank you! It works perfectly!
Hi,
When the UltimateRecyclerView is initialized in onCreateView, I write this:
But the SwipeRefreshLayout is not displayed. How can I show it during the asynctask?
Thanks. Denis