operator fun Menu.contains(item: MenuItem): Boolean
Returns |
|
fun Menu.forEach(action: (item: MenuItem) -> Unit): Unit
Performs the given action on each item in this menu. |
|
fun Menu.forEachIndexed(action: (index: Int, item: MenuItem) -> Unit): Unit
Performs the given action on each item in this menu, providing its sequential index. |
|
operator fun Menu.get(index: Int): MenuItem
Returns the menu at index. |
|
fun Menu.isEmpty(): Boolean
Returns true if this menu contains no items. |
|
fun Menu.isNotEmpty(): Boolean
Returns true if this menu contains one or more items. |
|
operator fun Menu.iterator(): MutableIterator<MenuItem>
Returns a MutableIterator over the items in this menu. |
|
val Menu.size: Int
Returns the number of items in this menu. |