Visible

class Visible(items: List<LensesComponent.Carousel.View.Item>, selectedItemPosition: Int, closeable: Boolean) : 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.

Constructors

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

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

closeable
Link copied to clipboard
val closeable: Boolean = true
items
Link copied to clipboard
val items: List<LensesComponent.Carousel.View.Item>
selectedItemPosition
Link copied to clipboard
val selectedItemPosition: Int = 0