Content
data class Content(val items: List<ChannelAttachmentsViewState.Content.Item> = emptyList(), val canLoadMore: Boolean = true, val isLoadingMore: Boolean = false) : ChannelAttachmentsViewState
Represents the content state of the channel attachments view.
Parameters
items
The list of items to be displayed. Defaults to an empty list.
canLoadMore
True if there are more items to be loaded. Defaults to true.
isLoadingMore
True if the loading of the next page is in progress. Defaults to false.
Constructors
Link copied to clipboard
constructor(items: List<ChannelAttachmentsViewState.Content.Item> = emptyList(), canLoadMore: Boolean = true, isLoadingMore: Boolean = false)