补充
This commit is contained in:
parent
6322c36906
commit
380381c3fe
@ -54,7 +54,7 @@ public class MainMessageChatFragment extends ConversationListFragment {
|
|||||||
mConversationListViewModel.getConversationListLiveData().observe(this.getViewLifecycleOwner(), new Observer<List<BaseUiConversation>>() {
|
mConversationListViewModel.getConversationListLiveData().observe(this.getViewLifecycleOwner(), new Observer<List<BaseUiConversation>>() {
|
||||||
@Override
|
@Override
|
||||||
public void onChanged(List<BaseUiConversation> uiConversations) {
|
public void onChanged(List<BaseUiConversation> uiConversations) {
|
||||||
int hashCode = UiConversationCodeUtil.getListHasCode(uiConversations);
|
int hashCode = uiConversations.hashCode();
|
||||||
if (listHashCode != hashCode) {
|
if (listHashCode != hashCode) {
|
||||||
Log.i("nwq", "刷新数据");
|
Log.i("nwq", "刷新数据");
|
||||||
listHashCode = hashCode;
|
listHashCode = hashCode;
|
||||||
|
Loading…
Reference in New Issue
Block a user