PinnedMessageListViewModel
ViewModel responsible for providing pinned messages in the channel. Pinned messages are provided in a descending order based on Message.pinnedAt. Can be bound to the view using PinnedMessageListViewModel.bindView function.
Parameters
cid
The full channel id. ie messaging:123.
Types
Properties
Inherited functions
Link copied to clipboard
Link copied to clipboard
fun PinnedMessageListViewModel.bindView(view: PinnedMessageListView, lifecycleOwner: LifecycleOwner)
Binds PinnedMessageListView with PinnedMessageListViewModel, updating the view's state based on data provided by the ViewModel and propagating view events to the ViewModel as needed.
Link copied to clipboard