PSPDFKit 2024.3 Migration Guide
This guide outlines the changes to PSPDFKit for Android 2024.3.
Breaking API Changes
DocumentScrollListener
interfaces have been changed to remove the PdfFragment
argument. If a PdfFragment
instance is required, users can retrieve it via the PdfActivity
, or via numerous other means.
View IDs that were deprecated in v7.0 have been removed and can be replaced by the same name, but with group
instead of item
:
-
pspdf__document_editing_toolbar_item_more
>pspdf__document_editing_toolbar_group_more
-
pspdf__annotation_editing_toolbar_item_edit_share
>pspdf__annotation_editing_toolbar_group_edit_share
-
pspdf__annotation_editing_toolbar_item_copy_cut
>pspdf__annotation_editing_toolbar_group_copy_cut
-
pspdf__annotation_editing_toolbar_item_undo_redo
>pspdf__annotation_editing_toolbar_group_undo_redo
-
pspdf__annotation_creation_toolbar_item_undo_redo
>pspdf__annotation_creation_toolbar_group_undo_redo
-
pspdf__annotation_creation_toolbar_item_multimedia
>pspdf__annotation_creation_toolbar_group_multimedia
-
pspdf__annotation_creation_toolbar_item_drawing
>pspdf__annotation_creation_toolbar_group_drawing
-
pspdf__annotation_creation_toolbar_item_writing
>pspdf__annotation_creation_toolbar_group_writing
-
pspdf__annotation_creation_toolbar_item_markup
>pspdf__annotation_creation_toolbar_group_markup
-
pspdf__annotation_editing_toolbar_item_inspector
>pspdf__annotation_editing_toolbar_group_inspector