on Toolbar Menu Item Long Click
abstract fun onToolbarMenuItemLongClick(@NonNull toolbar: ContextualToolbar, @NonNull menuItem: ContextualToolbarMenuItem): Boolean
Called then the menu item with submenu is long-clicked on the ContextualToolbar.
Return
true
to override the default item click action, false
to perform it anyways.
Parameters
toolbar
A toolbar containing the clicked item.
menu Item
Clicked menu item with a submenu.