OnPreparePopupToolbarListener

Listener for getting notified of when the popup toolbar is being prepared to be displayed. This allows you to set your own items on the toolbar before it's displayed.

Functions

Link copied to clipboard
Called once the annotation selection popup toolbar is being prepared to be displayed.
Link copied to clipboard
open fun onPrepareContentEditingPopupToolbar(@NonNull toolbar: PopupToolbar, @IntRange(from = 0) pageIndex: Int, @NonNull pdfPoint: PointF)
Called once a content editing popup toolbar is being prepared to be displayed.
Link copied to clipboard
open fun onPrepareLongPressPopupToolbar(@NonNull toolbar: PopupToolbar, @IntRange(from = 0) pageIndex: Int, @NonNull pdfPoint: PointF)
Called once the long-press popup toolbar is being prepared to be displayed.
Link copied to clipboard
Called once the text selection toolbar is being prepared to be displayed.