Text Selection Popup Toolbar
Text selection implementation of the PopupToolbar. It is displayed when text is selected, providing actions like copy, highlight, strikeout, share, etc.
Use com.pspdfkit.listeners.OnPreparePopupToolbarListener.onPrepareTextSelectionPopupToolbar to customize the toolbar's menu items before it is shown.
Inheritors
Functions
Bind text selection controller to the toolbar. Text selection controller can be obtained via com.pspdfkit.ui.special_mode.manager.TextSelectionManager.OnTextSelectionModeChangeListener. When bound to the toolbar, the toolbar will automatically show items that are enabled or disabled, and introduce the business logic for handling each of the clicked menu item actions.
Displays the text selection toolbar over the selected text. This method is no-op if called before the text controller has been set via bindController.
Unbinds a currently bound controller (if any).