diff --git a/common/src/main/java/com/yunbao/common/fragment/MainMessageChatFragment.java b/common/src/main/java/com/yunbao/common/fragment/MainMessageChatFragment.java index abc219736..8befd42ba 100644 --- a/common/src/main/java/com/yunbao/common/fragment/MainMessageChatFragment.java +++ b/common/src/main/java/com/yunbao/common/fragment/MainMessageChatFragment.java @@ -54,7 +54,7 @@ public class MainMessageChatFragment extends ConversationListFragment { mConversationListViewModel.getConversationListLiveData().observe(this.getViewLifecycleOwner(), new Observer>() { @Override public void onChanged(List uiConversations) { - int hashCode = UiConversationCodeUtil.getListHasCode(uiConversations); + int hashCode = uiConversations.hashCode(); if (listHashCode != hashCode) { Log.i("nwq", "刷新数据"); listHashCode = hashCode;