Toolbar Action
One-way event emitted by a toolbar composable.
Composables never call back into the coordinator directly — they emit a ToolbarAction, the coordinator routes it. This keeps composables pure, makes every interaction testable without UI, and lets the legacy OnMenuItemClickListener bridge attach at one well-defined point.
Pre-Phase 0 scaffolding.
Inheritors
Types
Link copied to clipboard
A toolbar item was tapped.
Link copied to clipboard
A toolbar item was long-pressed.
Link copied to clipboard
The toolbar navigation (up/back) affordance was tapped.
Link copied to clipboard
The overflow menu was expanded or collapsed.
Link copied to clipboard
A change of the toolbar's screen position was requested.
Link copied to clipboard
A child inside a submenu was tapped.