Cell

data class Cell(val value: String, val iconId: Int? = null, val description: String? = null, val validator: (String) -> Boolean? = null, val onValueChange: (String) -> Unit)

Constructors

Link copied to clipboard
constructor(value: String, iconId: Int? = null, description: String? = null, validator: (String) -> Boolean? = null, onValueChange: (String) -> Unit)

Properties

Link copied to clipboard
val description: String? = null

label that should be displayed

Link copied to clipboard
val iconId: Int? = null

id of an icon that should be displayed in Cell row, null by default

Link copied to clipboard

callback invoked on value change

Link copied to clipboard
val validator: (String) -> Boolean? = null

callback that validates the value

Link copied to clipboard

current cell value