data class MenuItem
Single menu item described by the selection key, label associated with this item, action to be executed on response to the item selection and termination flag used to decide whether to loop after action completion.
MenuItem(key: String, label: String, action: () -> Unit, isTerminating: Boolean = false)
Single menu item described by the selection key, label associated with this item, action to be executed on response to the item selection and termination flag used to decide whether to loop after action completion. |
val action: () -> Unit |
|
val isTerminating: Boolean |
|
val key: String |
|
val label: String |