Package icyllis.modernui.widget
Interface PopupMenu.OnMenuItemClickListener
- Enclosing class:
PopupMenu
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface responsible for receiving menu item click events if the items
themselves do not have individual item click listeners.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanonMenuItemClick(MenuItem item) This method will be invoked when a menu item is clicked if the item itself did not already handle the event.
-
Method Details
-
onMenuItemClick
This method will be invoked when a menu item is clicked if the item itself did not already handle the event.- Parameters:
item- the menu item that was clicked- Returns:
trueif the event was handled,falseotherwise
-