mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-23 22:09:30 +00:00
Avoid useless posts reloading on LatestPostsFragment pauses
This commit is contained in:
parent
ac96c8f4d0
commit
686379b015
@ -112,7 +112,8 @@ public class LatestPostsFragment extends Fragment
|
|||||||
MainActivity.SetNavbarSelectedOption(getActivity(), R.id.action_latest_posts);
|
MainActivity.SetNavbarSelectedOption(getActivity(), R.id.action_latest_posts);
|
||||||
|
|
||||||
//Refresh the list of posts of the user
|
//Refresh the list of posts of the user
|
||||||
refresh_posts_list();
|
if(mPostsList == null)
|
||||||
|
refresh_posts_list();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user