refresh list view more often

This commit is contained in:
iNPUTmice 2015-02-17 09:53:16 +01:00
parent 24cd08e55e
commit 62b15a5d26
2 changed files with 2 additions and 2 deletions

View File

@ -793,7 +793,7 @@ public class ConversationActivity extends XmppActivity
this.mConversationFragment.reInit(getSelectedConversation());
mOpenConverstaion = null;
} else if (getSelectedConversation() != null) {
this.mConversationFragment.updateMessages();
this.mConversationFragment.reInit(getSelectedConversation());
} else {
showConversationsOverview();
mPendingImageUri = null;

View File

@ -577,7 +577,7 @@ public class ConversationFragment extends Fragment {
}
this.mEditMessage.setText("");
this.mEditMessage.append(this.conversation.getNextMessage());
this.messagesView.invalidateViews();
this.messagesView.setAdapter(messageListAdapter);
updateMessages();
this.messagesLoaded = true;
int size = this.messageList.size();