DropdownOption

data class DropdownOption<T>(val value: T, val label: StrRes, val id: String = Uuid.random().toString())

Supply an explicit id when recreating options. IDs identify values, never labels or positions.

Constructors

Link copied to clipboard
constructor(value: T, label: StrRes, id: String = Uuid.random().toString())

Properties

Link copied to clipboard
val id: String
Link copied to clipboard
val label: StrRes
Link copied to clipboard
val value: T