ChannelsState

constructor(isLoading: Boolean = true, isLoadingMore: Boolean = false, endOfChannels: Boolean = false, channelItems: List<ItemState> = emptyList(), searchQuery: SearchQuery = SearchQuery.Empty)

Parameters

isLoading

If we're currently loading data (initial load).

isLoadingMore

If we're loading more items (pagination).

endOfChannels

If we've reached the end of channels, to stop triggering pagination.

channelItems

The channel items to represent in the list.

searchQuery

The current search query.