Add workaround messagesList to remove on fragment resume progressbar

This commit is contained in:
Pierre HUBERT 2018-08-22 10:51:54 +02:00
parent be8c904593
commit ff078e9550

View File

@ -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();
}