GalleryDetailState

data class GalleryDetailState(val loading: Boolean = true, val tabs: List<GalleryDetailTab> = emptyList(), val selectedTab: GalleryDetailTab = GalleryDetailTab.IMAGE, val galleryItemIds: List<Long> = emptyList(), val dialog: GalleryDetailDialog = GalleryDetailDialog.None, val content: GalleryDetailContent? = null, val pagerContents: List<GalleryDetailContent> = emptyList(), val pagerContentStartIndex: Int = 0, val pagerCurrentIndex: Int = 0) : MviState(source)

Carries GalleryDetailState data through the SDAI presentation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(loading: Boolean = true, tabs: List<GalleryDetailTab> = emptyList(), selectedTab: GalleryDetailTab = GalleryDetailTab.IMAGE, galleryItemIds: List<Long> = emptyList(), dialog: GalleryDetailDialog = GalleryDetailDialog.None, content: GalleryDetailContent? = null, pagerContents: List<GalleryDetailContent> = emptyList(), pagerContentStartIndex: Int = 0, pagerCurrentIndex: Int = 0)

Properties

Link copied to clipboard

Exposes the content value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the dialog value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the galleryItemIds value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the loading value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the pagerContents value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the pagerContentStartIndex value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the pagerCurrentIndex value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the selectedTab value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the tabs value used by the SDAI presentation layer.