choiceDialog
inline fun <T> choiceDialog(items: Collection<T>? = null, prefill: T? = null, configuration: ChoiceDialog<T>.() -> Unit): Optional<T>
inline fun <T> choiceDialog(vararg items: T, prefill: T? = null, configuration: ChoiceDialog<T>.() -> Unit): Optional<T>
Show a selector.
Return
selected item.
Parameters
items
selection choices.
prefill
default choice.
configuration
custom dialog action.