BaseMenuPresenter
Base class for MenuPresenters that have a consistent container view and item views. Behaves similarly to an AdapterView in that existing item views will be reused if possible when items change.
Functions
Link copied to clipboard
Bind item data to an existing item view.
Link copied to clipboard
Called when a menu item with a collapsible action view should collapse its action view.
Link copied to clipboard
Create a new item view that can be re-bound to other item data later.
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
Link copied to clipboard
Prepare an item view for use.
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
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
Filter item by child index and item data.
Link copied to clipboard
Reuses item views when it can