ChannelsState
data class ChannelsState(val isLoading: Boolean = true, val isLoadingMore: Boolean = false, val endOfChannels: Boolean = false, val channelItems: List<ItemState> = emptyList(), val searchQuery: SearchQuery = SearchQuery.Empty)
Represents the Channels screen state, used to render the required UI.
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.