MenuPresenter
A MenuPresenter is responsible for building views for a Menu object. It takes over some responsibility from the old style monolithic MenuBuilder class.
Inheritors
Types
Functions
Link copied to clipboard
Called when a menu item with a collapsible action view should collapse its action view.
Link copied to clipboard
Called when a menu item with a collapsible action view should expand its action view.
Link copied to clipboard
Called by Menu implementations to flag items that will be shown as actions.
Link copied to clipboard
Retrieve a MenuView to display the menu specified in initForMenu.
Link copied to clipboard
Initializes this presenter for the given context and menu.
Link copied to clipboard
Called by Menu implementations to indicate that a menu or submenu is closing.
Link copied to clipboard
Supplies the previously saved instance state to be restored.
Link copied to clipboard
Returns a Parcelable describing the current state of the presenter.
Link copied to clipboard
Called by Menu implementations to indicate that a submenu item has been selected.
Link copied to clipboard
Set a callback object that will be notified of menu events related to this specific presentation.
Link copied to clipboard
Update the menu UI in response to a change.