AnnotationPopupToolbar

class AnnotationPopupToolbar(pdfFragment: PdfFragment, val annotations: List<Annotation>) : PopupToolbar

Annotation selection implementation of the PopupToolbar. It is displayed when annotations are selected, providing actions like copy, delete, inspector, etc.

Use com.pspdfkit.listeners.OnPreparePopupToolbarListener.onPrepareAnnotationPopupToolbar to customize the toolbar's menu items before it is shown.

Constructors

Link copied to clipboard
constructor(pdfFragment: PdfFragment, annotations: List<Annotation>)

Properties

Link copied to clipboard

The currently selected annotations.

Link copied to clipboard
open override val viewId: Int

Returns the id of the content view for this toolbar.