KMessageListItemLiveData

class KMessageListItemLiveData(dateSeparatorHandler: KMessageListViewModel.DateSeparatorHandler? = null, newMsgSeparatorHandler: KMessageListViewModel.NewMsgSeparatorHandler? = null, chatType: Int, isChatWithMyself: Boolean) : MediatorLiveData<KMessageListWrapper>

Created by liutao7 on 2022/5/31. 消息列表数据封装

Constructors

Link copied to clipboard
constructor(dateSeparatorHandler: KMessageListViewModel.DateSeparatorHandler? = null, newMsgSeparatorHandler: KMessageListViewModel.NewMsgSeparatorHandler? = null, chatType: Int, isChatWithMyself: Boolean)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun <S : Any> addSource(@NonNull source: LiveData<S>, @NonNull onChanged: Observer<in S>)
Link copied to clipboard
fun clear()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hasObservers(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun postValue(p0: KMessageListWrapper)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <S : Any> removeSource(@NonNull toRemote: LiveData<S>)
Link copied to clipboard
open override fun setValue(p0: KMessageListWrapper)