Package com.pspdfkit.ui.toolbar
Interface ContextualToolbar.OnMenuItemLongClickListener
-
- All Implemented Interfaces:
public interface ContextualToolbar.OnMenuItemLongClickListener
Listener for long clicks on menu items with submenu.
-
-
Method Summary
Modifier and Type Method Description abstract boolean
onToolbarMenuItemLongClick(@NonNull() ContextualToolbar toolbar, @NonNull() ContextualToolbarMenuItem menuItem)
Called then the menu item with submenu is long-clicked on the ContextualToolbar. -
-
Method Detail
-
onToolbarMenuItemLongClick
@CheckResult() abstract boolean onToolbarMenuItemLongClick(@NonNull() ContextualToolbar toolbar, @NonNull() ContextualToolbarMenuItem menuItem)
Called then the menu item with submenu is long-clicked on the ContextualToolbar.
- Parameters:
toolbar
- A toolbar containing the clicked item.menuItem
- Clicked menu item with a submenu.- Returns:
true
to override the default item click action,false
to perform it anyways.
-
-
-
-