Model

sealed class Model

Defines possible states of the lenses carousel view.

Types

Link copied to clipboard

Lenses carousel should not be displayed, hide any if shown already.

Link copied to clipboard
class Visible(val items: List<LensesComponent.Carousel.View.Item>, val selectedItemPosition: Int = 0, val closeable: Boolean = true) : LensesComponent.Carousel.View.Model

Lenses carousel should be displayed with the provided items. selectedItemPosition is the position of the Item withing the items that should be selected. closeable determines if the lenses carousel can be closed either by user or programmatically.

Inheritors

Link copied to clipboard
Link copied to clipboard