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