Toolbox
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Toolbox
form
/
com.michaelflisar.toolbox.form2
/
FormHeader
/
SpinnerData
Spinner
Data
class
SpinnerData
<
T
>
(
val
items
:
List
<
T
>
,
val
selectedItem
:
T
,
val
mapper
:
(
T
)
->
String
,
val
onItemSelected
:
(
T
)
->
Unit
)
Members
Constructors
Spinner
Data
Link copied to clipboard
constructor
(
items
:
List
<
T
>
,
selectedItem
:
T
,
mapper
:
(
T
)
->
String
,
onItemSelected
:
(
T
)
->
Unit
)
Properties
items
Link copied to clipboard
val
items
:
List
<
T
>
mapper
Link copied to clipboard
val
mapper
:
(
T
)
->
String
on
Item
Selected
Link copied to clipboard
val
onItemSelected
:
(
T
)
->
Unit
selected
Item
Link copied to clipboard
val
selectedItem
:
T