Package-level declarations

Types

Link copied to clipboard
class ChannelListViewModel(    val chatClient: ChatClient,     initialSort: QuerySorter<Channel>,     initialFilters: FilterObject?,     channelLimit: Int = DEFAULT_CHANNEL_LIMIT,     memberLimit: Int = DEFAULT_MEMBER_LIMIT,     messageLimit: Int = DEFAULT_MESSAGE_LIMIT,     chatEventHandlerFactory: ChatEventHandlerFactory = ChatEventHandlerFactory(chatClient.clientState),     searchDebounceMs: Long = SEARCH_DEBOUNCE_MS) : ViewModel

A state store that represents all the information required to query, filter, show and react to Channel items in a list.

Link copied to clipboard
class ChannelViewModelFactory(    chatClient: ChatClient = ChatClient.instance(),     querySort: QuerySorter<Channel> = QuerySortByField.descByName("last_updated"),     filters: FilterObject? = null,     channelLimit: Int = ChannelListViewModel.DEFAULT_CHANNEL_LIMIT,     memberLimit: Int = ChannelListViewModel.DEFAULT_MEMBER_LIMIT,     messageLimit: Int = ChannelListViewModel.DEFAULT_MESSAGE_LIMIT,     chatEventHandlerFactory: ChatEventHandlerFactory = ChatEventHandlerFactory(chatClient.clientState)) : ViewModelProvider.Factory

Builds the factory that contains all the dependencies required for the Channels Screen. It currently provides the ChannelListViewModel using those dependencies.