diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPostsFragment.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPostsFragment.java index 55d1f3f..322d856 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPostsFragment.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPostsFragment.java @@ -187,6 +187,9 @@ public class UserPostsFragment extends Fragment @UiThread private void display_posts(){ + if(isStateSaved()) + return; + //Check for errors if(mPostsList == null){ Toast.makeText(getActivity(), R.string.err_get_user_posts, Toast.LENGTH_SHORT).show();