MultiSelectOption

data class MultiSelectOption<T>(val value: T, val label: String, val description: String? = null, @DrawableRes val iconRes: Int? = null)

A single option for SettingsMultiSelect.

Parameters

value

Typed domain value represented by this option.

label

Display text.

description

Optional secondary text shown below label.

iconRes

Optional drawable resource shown to the left of label.

Constructors

Link copied to clipboard
constructor(value: T, label: String, description: String? = null, @DrawableRes iconRes: Int? = null)

Properties

Link copied to clipboard
val description: String? = null
Link copied to clipboard
val iconRes: Int? = null
Link copied to clipboard
Link copied to clipboard
val value: T