on Menu Item Clicked
abstract fun onMenuItemClicked( @NonNull view: View, @NonNull menu: T, @Nullable data: R): Boolean
Content copied to clipboard
Called when a view has been clicked.
Return
true if the callback consumed the menu item click, false otherwise.
Parameters
view
The view that was clicked.
menu
The menu item that was clicked.
data
The data that was clicked.