Interface that must be implemented by toolbars using this helper.
The PDF configuration used by this toolbar, or null if not available.
The PDF fragment associated with this toolbar, or null if not available.
Returns the lifecycle owner for coroutine scope. For Fragment-based toolbars, return fragment?.viewLifecycleOwner. For View-based toolbars, return ViewTreeLifecycleOwner.get(view).
Enables or disables a menu item by its ID.