toggle menu
Android-IMKit-SDK
5.12.0
io.rong.imkit
switch theme
search in API
Android-IMKit-SDK
/
io.rong.imkit.conversationlist.viewmodel
/
UltraGroupConversationListViewModel
Ultra
Group
Conversation
List
View
Model
public
class
UltraGroupConversationListViewModel
Members
Constructors
Ultra
Group
Conversation
List
View
Model
Link copied to clipboard
public
void
UltraGroupConversationListViewModel
(
Application application
)
Functions
clear
All
Notification
Link copied to clipboard
public
void
clearAllNotification
(
)
get
Conversation
List
Link copied to clipboard
public
void
getConversationList
(
boolean loadMore
,
boolean isEventManual
)
从本地数据库获取会话列表。 此处借鉴前端的函数节流思想,在
REFRESH_INTERVAL
时间内,丢弃掉其它触发,只做一次执行。 以便提高接受大量消息时的刷新性能。
get
Conversation
List
Live
Data
Link copied to clipboard
public
MediatorLiveData<List<BaseUiConversation>>
getConversationListLiveData
(
)
get
Notice
Content
Live
Data
Link copied to clipboard
public
LiveData<NoticeContent>
getNoticeContentLiveData
(
)
获取连接状态通知内容
get
Refresh
Event
Live
Data
Link copied to clipboard
public
LiveData<RefreshEvent>
getRefreshEventLiveData
(
)
获取刷新事件 LiveData
set
Channel
Id
Link copied to clipboard
public
void
setChannelId
(
String
channelId
)