-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.common.state.channel.attachments.ChannelAttachmentsViewState
public final class ChannelAttachmentsViewState.Content implements ChannelAttachmentsViewState
Represents the content state of the channel attachments view.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChannelAttachmentsViewState.Content.ItemRepresents a result item in the channel attachments view.
-
Field Summary
Fields Modifier and Type Field Description private final List<ChannelAttachmentsViewState.Content.Item>itemsprivate final BooleancanLoadMoreprivate final BooleanisLoadingMore
-
Constructor Summary
Constructors Constructor Description ChannelAttachmentsViewState.Content(List<ChannelAttachmentsViewState.Content.Item> items, Boolean canLoadMore, Boolean isLoadingMore)
-
Method Summary
Modifier and Type Method Description final List<ChannelAttachmentsViewState.Content.Item>getItems()final BooleangetCanLoadMore()final BooleangetIsLoadingMore()-
-
Constructor Detail
-
ChannelAttachmentsViewState.Content
ChannelAttachmentsViewState.Content(List<ChannelAttachmentsViewState.Content.Item> items, Boolean canLoadMore, Boolean isLoadingMore)
- Parameters:
items- The list of items to be displayed.canLoadMore- True if there are more items to be loaded.isLoadingMore- True if the loading of the next page is in progress.
-
-
Method Detail
-
getItems
final List<ChannelAttachmentsViewState.Content.Item> getItems()
-
getCanLoadMore
final Boolean getCanLoadMore()
-
getIsLoadingMore
final Boolean getIsLoadingMore()
-
-
-
-