KChatListInBoxViewModel

class KChatListInBoxViewModel(boxType: Int, val assumerId: String) : KBaseChatListViewModel

Created by liutao7 on 2022/8/31. 盒子中会话列表 ViewModel

Constructors

Link copied to clipboard
constructor(boxType: Int, assumerId: String)

Types

Link copied to clipboard
object Companion

Properties

Functions

Link copied to clipboard
@JvmName(name = "bindView")
fun KBaseChatListViewModel.bindView(view: KChatListView, chatTypes: List<Int>? = null, boxEnable: Boolean = true, headEnable: Boolean = true, extChatList: List<KExtChatItem>? = null, lifecycleOwner: LifecycleOwner)

Created by liutao7 on 2022/5/24.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun handleChatOperation(action: String, chatId: String, callbackLiveData: MutableLiveData<Boolean>? = null)
Link copied to clipboard
fun loadChat(chatId: String?)
Link copied to clipboard
fun loadChats()
fun loadChats(chatIds: Collection<String>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun mergeList(chatList: List<KIMCoreChat>, boxList: List<KIMCoreBox>, extList: List<KExtChatItem>? = null): MutableList<KChatListItem>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun readBox()
Link copied to clipboard
fun reloadChat(chatId: String)
Link copied to clipboard
Link copied to clipboard