mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-12-26 13:38:59 +00:00
Fix issue
This commit is contained in:
parent
5048c0fd75
commit
8fa5e32f23
@ -158,7 +158,12 @@ public class UserPostsFragment extends Fragment
|
||||
return;
|
||||
|
||||
//Get the list of posts of the user
|
||||
mPostsList.addAll(mPostsHelper.get_user(mUserID));
|
||||
PostsList new_posts = mPostsHelper.get_user(mUserID);
|
||||
|
||||
if(mPostsList == null)
|
||||
return;
|
||||
|
||||
mPostsList.addAll(new_posts);
|
||||
|
||||
if(mPostsList != null)
|
||||
mUsersInfo = mUserHelper.getMultiple(mPostsList.getUsersId());
|
||||
|
Loading…
Reference in New Issue
Block a user