Callback

Called by menu to notify of close and selection changes.

Inheritors

Functions

Link copied to clipboard
abstract fun onMenuItemSelected(@NonNull menu: @NonNull MenuBuilder, @NonNull item: @NonNull MenuItem): Boolean
Called when a menu item is selected.
Link copied to clipboard
abstract fun onMenuModeChange(@NonNull menu: @NonNull MenuBuilder)
Called when the mode of the menu changes (for example, from icon to expanded).