mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-27 07:49:28 +00:00
Fix an IllegalStateException
This commit is contained in:
parent
8fa5e32f23
commit
c1093931d4
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user