Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class KMessageListItemLiveData(dateSeparatorHandler: KMessageListViewModel.DateSeparatorHandler? = null, newMsgSeparatorHandler: KMessageListViewModel.NewMsgSeparatorHandler? = null, chatType: Int, isChatWithMyself: Boolean) : MediatorLiveData<KMessageListWrapper>
Created by liutao7 on 2022/5/31. 消息列表数据封装
Link copied to clipboard
Created by liutao7 on 2022/5/31. 消息列表 ViewModel
Link copied to clipboard
object MessageCreator
Created by liutao7 on 2023/5/15.
Link copied to clipboard
object MessageFilling
Created by liutao7 on 2023/4/13. 消息填充,筛选特定的自定义消息并通过app server接口重新拉取,拉取完成后重新设置content保证内容是最新的
Link copied to clipboard
object MessagesProcessor
用于对消息列表数据整体进行处理。 例如:投票消息优化,合并去掉多余消息
Functions
Link copied to clipboard
fun KMessageDetailViewModel.bindView(view: KMessageListView, lifecycleOwner: LifecycleOwner, extensions: List<KIMExpMessageDetail>)
Created by liutao7 on 2022/8/7.
fun KMessageListViewModel.bindView(view: KMessageListView, messageListLoaderDelegate: KMessageListLoaderDelegate?, lifecycleOwner: LifecycleOwner, messageCommitCallback: () -> Unit? = null)
Created by liutao7 on 2022/5/31.