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