Android SwipeRefreshLayout showing twice in Fragment using support library
Seems to be a support library error, but when I do mSwipeRefreshLayout updating the onCreateView fragment with this code
mSwipeRefreshLayout.post(new Runnable() {
@Override
public void run() {
mSwipeRefreshLayout.setRefreshing(true);
}
});
circle progress starts twice. First it appears and immediately hides, then it reappears, and then it works like it was supposed to do. This doesn't happen on Android L devices only when api <21 using support library. Please help me.
+3
source to share
No one has answered this question yet
Check out similar questions: