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