MenuItem

open class MenuItem

Class representation of the menu item in the structure. If there's a defined submenu list, the item is a group. Implementations of MenuItemGroupingRule can use these to construct groups from provided flat items (matched by the id).

Constructors

Link copied to clipboard
constructor(id: Int)
Constructor for single menu item.
constructor(id: Int, @Nullable submenuIds: Array<Int>)
Constructor for menu item group.

Properties

Link copied to clipboard
val id: Int
Link copied to clipboard