|
@@ -161,6 +161,7 @@ public class ConversationListViewModel extends AndroidViewModel {
|
|
RongIMClient.getInstance().getConversationListByPage(new RongIMClient.ResultCallback<List<Conversation>>() {
|
|
RongIMClient.getInstance().getConversationListByPage(new RongIMClient.ResultCallback<List<Conversation>>() {
|
|
@Override
|
|
@Override
|
|
public void onSuccess(List<Conversation> conversations) {
|
|
public void onSuccess(List<Conversation> conversations) {
|
|
|
|
+ mUiConversationList.clear();
|
|
if (loadMore) {
|
|
if (loadMore) {
|
|
mRefreshEventLiveData.postValue(new Event.RefreshEvent(RefreshState.LoadFinish));
|
|
mRefreshEventLiveData.postValue(new Event.RefreshEvent(RefreshState.LoadFinish));
|
|
} else {
|
|
} else {
|