UndoRedoToolbarHost

Interface that must be implemented by toolbars using this helper.

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
abstract val fragment: PdfFragment?

Functions

Link copied to clipboard
Link copied to clipboard

Returns the lifecycle owner for coroutine scope. For Fragment-based toolbars, return fragment?.viewLifecycleOwner. For View-based toolbars, return ViewTreeLifecycleOwner.get(view).

Link copied to clipboard
abstract fun setMenuItemEnabled(@IdRes id: Int, enabled: Boolean): Boolean