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()); this.mConversationFragment.reInit(getSelectedConversation());
mOpenConverstaion = null; mOpenConverstaion = null;
} else if (getSelectedConversation() != null) { } else if (getSelectedConversation() != null) {
this.mConversationFragment.updateMessages(); this.mConversationFragment.reInit(getSelectedConversation());
} else { } else {
showConversationsOverview(); showConversationsOverview();
mPendingImageUri = null; mPendingImageUri = null;

View file

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