GalleryState
data class GalleryState(val loading: Boolean = true, val loadingNextPage: Boolean = false, val items: List<GalleryGridItemUi> = emptyList(), val nextPage: Int = 0, val canLoadMore: Boolean = true, val dialog: GalleryDialog = GalleryDialog.None, val mediaStoreInfo: MediaStoreInfo = MediaStoreInfo(), val dropdownMenuShow: Boolean = false, val selectionMode: Boolean = false, val selection: List<Long> = emptyList(), val grid: Grid = Grid.Fixed2) : MviState(source)
Carries GalleryState data through the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(loading: Boolean = true, loadingNextPage: Boolean = false, items: List<GalleryGridItemUi> = emptyList(), nextPage: Int = 0, canLoadMore: Boolean = true, dialog: GalleryDialog = GalleryDialog.None, mediaStoreInfo: MediaStoreInfo = MediaStoreInfo(), dropdownMenuShow: Boolean = false, selectionMode: Boolean = false, selection: List<Long> = emptyList(), grid: Grid = Grid.Fixed2)
Properties
Link copied to clipboard
Exposes the canLoadMore 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 dropdownMenuShow value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the items value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the loadingNextPage value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the mediaStoreInfo value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the selectionMode value used by the SDAI presentation layer.