# ConversationListViewModel

public class ConversationListViewModel

## Constructors

ConversationListViewModel
Link copied to clipboard
public void ConversationListViewModel(Application application)

## Functions

clearAllNotification
Link copied to clipboard
public void clearAllNotification()
getConversationList
Link copied to clipboard
public void getConversationList(boolean loadMore, boolean isEventManual, long delayTime)
从本地数据库获取会话列表。 此处借鉴前端的函数节流思想，在 REFRESH_INTERVAL 时间内，丢弃掉其它触发，只做一次执行。 以便提高接受大量消息时的刷新性能。
getConversationListLiveData
Link copied to clipboard
public MediatorLiveData<List<BaseUiConversation>> getConversationListLiveData()
getNoticeContentLiveData
Link copied to clipboard
public LiveData<NoticeContent> getNoticeContentLiveData()
获取连接状态通知内容
getRefreshEventLiveData
Link copied to clipboard
public LiveData<RefreshEvent> getRefreshEventLiveData()
获取刷新事件 LiveData
onGroupUpdate
Link copied to clipboard
public void onGroupUpdate(Group group)
onGroupUserInfoUpdate
Link copied to clipboard
public void onGroupUserInfoUpdate(GroupUserInfo groupUserInfo)
onUserUpdate
Link copied to clipboard
public void onUserUpdate(UserInfo info)