MentionListViewModel
class MentionListViewModel(sort: QuerySorter<Message>? = null, controllerProvider: ViewModel.() -> MentionListController = { MentionListController(viewModelScope, sort) }) : ViewModel
ViewModel class responsible for managing the MentionListState and actions of mention list.
Parameters
sort
The sorting options for the messages.
controllerProvider
The provider for MentionListController which handles the business logic of the mention list.
Constructors
Link copied to clipboard
constructor(sort: QuerySorter<Message>? = null, controllerProvider: ViewModel.() -> MentionListController = { MentionListController(viewModelScope, sort) })