I previously was using API 19 and was using SwipeRefreshLayout
for many of my fragments. When I loaded content for the first time previously, I was using the setRefreshing(true);
and was able to load content and it worked fine.
I'm noticing in Android 5.0 Google is using a circular progress view. When I call setRefreshing(true);
now it simply has no effect. Is there anyway to programmatically show the new spinner? I've delved in to this quite a bit but not able to programmatically show it. I have read the following on this:
http://developer.android.com/tools/support-library/index.html
https://yassirh.com/2014/05/how-to-use-swiperefreshlayout-the-right-way/
SwipeRefreshLayout doesn't show any indicator of refreshing
Basically, it shows no indication of refreshing on the first try.