Fix crash

This commit is contained in:
Pierre HUBERT 2018-08-20 18:30:05 +02:00
parent d7dc2d66dc
commit 92da9ff0e3

View File

@ -154,6 +154,9 @@ public class UserPostsFragment extends Fragment
@Override @Override
public void run() { public void run() {
if(mPostsList == null)
return;
//Get the list of posts of the user //Get the list of posts of the user
mPostsList.addAll(mPostsHelper.get_user(mUserID)); mPostsList.addAll(mPostsHelper.get_user(mUserID));