public static interface MenuBuilder.Callback
Modifier and Type | Method and Description |
---|---|
boolean |
onMenuItemSelected(MenuBuilder menu,
MenuItem item)
Called when a menu item is selected.
|
void |
onMenuModeChange(MenuBuilder menu)
Called when the mode of the menu changes (for example, from icon to expanded).
|
boolean onMenuItemSelected(MenuBuilder menu, MenuItem item)
menu
- The menu that is the parent of the itemitem
- The menu item that is selectedvoid onMenuModeChange(MenuBuilder menu)
menu
- the menu that has changed modesCopyright © 2011–2014. All rights reserved.