ChannelListViewModelFactory
Builds the factory that contains all the dependencies required for the Channels Screen. It currently provides the ChannelListViewModel using those dependencies.
Parameters
The client used to fetch data.
How many channels we fetch per page.
How many members are fetched for each channel item when loading channels. When null, the server-side default is used.
How many messages are fetched for each channel item when loading channels. When null, the server-side default is used.
The instance of ChatEventHandlerFactory used to create ChatEventHandler.
If the draft message feature is enabled.
Optional sorting for message search results. When null, the server-side default is used.
Constructors
Builds a factory for a ChannelListViewModel that queries channels by an explicit filter and sort.
Builds a factory for a ChannelListViewModel that queries channels using a predefined filter resolved by the server.