mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-27 07:49:28 +00:00
Add workaround messagesList to remove on fragment resume progressbar
This commit is contained in:
parent
be8c904593
commit
ff078e9550
@ -354,6 +354,11 @@ public class ConversationFragment extends Fragment
|
||||
}
|
||||
else
|
||||
onGotConversationInfo(conversationInfo);
|
||||
|
||||
//Remove progress if we already have messages
|
||||
if(messagesList != null)
|
||||
if(messagesList.size() > 0)
|
||||
display_main_progress_bar(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -450,7 +455,7 @@ public class ConversationFragment extends Fragment
|
||||
}
|
||||
}
|
||||
|
||||
//Inform about dataset update
|
||||
//Inform about data set update
|
||||
convMessAdapter.notifyDataSetChanged();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user