Package ai.nexconn.chatui.channellist
Class ChannelListViewModel
-
- All Implemented Interfaces:
public class ChannelListViewModelChannel list ViewModel
Coordinates all Handlers, manages LiveData, and exposes data to Fragment.
- Since:
5.10.4
-
-
Constructor Summary
Constructors Constructor Description ChannelListViewModel(Bundle arguments)
-
Method Summary
Modifier and Type Method Description voidrefresh()voidremoveChannel(ChannelType channelType, String channelId)void)>setChannelTop(ChannelIdentifier identifier, boolean isTop, OperationHandler<Boolean> handler)voidonResume()LiveData<List<BaseUiChannel>>getConversationListLiveData()LiveData<NoticeContent>getNoticeContentLiveData()OnPagedDataLoadergetPagedDataLoader()-
-
Method Detail
-
refresh
void refresh()
-
removeChannel
void removeChannel(ChannelType channelType, String channelId)
-
setChannelTop
void )>setChannelTop(ChannelIdentifier identifier, boolean isTop, OperationHandler<Boolean> handler)
-
onResume
void onResume()
-
getConversationListLiveData
LiveData<List<BaseUiChannel>> getConversationListLiveData()
-
getNoticeContentLiveData
LiveData<NoticeContent> getNoticeContentLiveData()
-
getPagedDataLoader
OnPagedDataLoader getPagedDataLoader()
-
-
-
-