SimpleDropdownConfig

class SimpleDropdownConfig(@StringRes val label: Int, items: List<DropdownItemSpec>) : DropdownConfig

Constructors

Link copied to clipboard
fun SimpleDropdownConfig(@StringRes label: Int, items: List<DropdownItemSpec>)

Functions

Link copied to clipboard
open override fun convertFromRaw(rawValue: String): String

This will convert from a raw value used in the parameter map to a display value

Link copied to clipboard
open override fun getSelectedItemLabel(index: Int): String

The label identifying the selected item used when the dropdown menu is collapsed

Properties

Link copied to clipboard
open override val debugLabel: String

This is a label for debug logs

Link copied to clipboard
open override val displayItems: List<String>

This is the list of displayable items to show in the drop down

Link copied to clipboard
open override val label: Int

This is the label to describe the field

Link copied to clipboard
open override val rawItems: List<String?>

The list of raw values to use in the parameter map

Link copied to clipboard
open val tinyMode: Boolean

Whether the dropdown menu should be shown in a small form when collapsed