NavigationBarMenuBuilder

SESL Variant.

Wrapper class for MenuBuilder that adds methods to support submenus as a part of the menu.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Returns the item at the position i.
Link copied to clipboard
Returns number of visible main items in the menu, which correspond to any content items that are not under a subheader.
Link copied to clipboard
open fun performItemAction(@NonNull item: MenuItem, @NonNull presenter: MenuPresenter, flags: Int): Boolean
Calls the underlying performItemAction
Link copied to clipboard
open fun refreshItems()
Refresh the items to match the current state of the underlying MenuBuilder.
Link copied to clipboard
open fun size(): Int
Returns total number of items in the menu, including submenus, submenu items, and dividers.