onClick

open fun onClick(v: View)

Handles click events on toolbar menu items. Processes the click based on the item type, delegating to appropriate handlers for stylus toggle, close button, or annotation tool selection.

Parameters

v

The view that was clicked (expected to be a ContextualToolbarMenuItem).