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 3b56629..3af7797 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 @@ -154,6 +154,9 @@ public class UserPostsFragment extends Fragment @Override public void run() { + if(mPostsList == null) + return; + //Get the list of posts of the user mPostsList.addAll(mPostsHelper.get_user(mUserID));