MenuItem

constructor(id: Int)

Constructor for single menu item.

Parameters

id

Id of the item.


constructor(id: Int, @Nullable submenuIds: Array<Int>)

Constructor for menu item group.

Parameters

id

If for the group item.

submenuIds

Array of item ids contained in the group submenu.