Package-level declarations
Types
Producer-side bridge between an AnnotatingController and the coordinator's contextual toolbar slice — the Compose successor to the View AnnotationToolbar's controller binding.
Producer-side bridge between PdfFragment and a ToolbarCoordinator.
Functions
NutrientStatusBarScrim that decides for itself how much to show, from the document's own state.
Activity-scoped ToolbarCoordinator. Shared across all fragments hosted by this activity; survives configuration changes; cleaned up when the activity finishes.
Fragment-scoped ToolbarCoordinator. Tied to the fragment's lifecycle — survives configuration changes within the fragment; cleaned up when the fragment is destroyed.
The SDK toolbar stack (NutrientToolbars) as a ComposeView, with the full chrome PdfActivity has, so a custom activity built around PdfFragment gets the same behavior without hand-rolling it:
Registers a legacy MenuItemGroupingRule with the Compose annotation creation toolbar — the deprecated successor of the View AnnotationToolbar.setMenuItemGroupingRule. Equivalent to the kind-scoped overload with ContextualToolbarKind.Annotation. Pass null to clear.
Registers a legacy MenuItemGroupingRule for one contextual toolbar kind — the deprecated successor of setting a rule on that kind's View toolbar instance (AnnotationToolbar, DocumentEditingToolbar). Only PresetMenuItemGroupingRule subclasses are honored (their getGroupPreset() is pure data); custom groupMenuItems(...) overrides cannot be bridged. Pass null to clear that kind's rule.