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
controller
the PinnedMessageListController handling the business logic and the state management for the pinned message list.
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