Package com.pspdfkit.bookmarks
Interface BookmarkProvider.BookmarkListener
-
- All Implemented Interfaces:
public interface BookmarkProvider.BookmarkListener
Listener for notifying other components when bookmarks change.
-
-
Method Summary
Modifier and Type Method Description abstract void
onBookmarksChanged(@NonNull() List<Bookmark> bookmarks)
Called when bookmark list has been changed in some way. void
onBookmarkAdded(@NonNull() Bookmark bookmark)
Called when a new bookmark was added. -
-
Method Detail
-
onBookmarksChanged
@UiThread() abstract void onBookmarksChanged(@NonNull() List<Bookmark> bookmarks)
Called when bookmark list has been changed in some way. Called on the UI thread. It is also called if any property of any bookmark in the list changes.
- Parameters:
bookmarks
- List of bookmarks after change.
-
onBookmarkAdded
@UiThread() void onBookmarkAdded(@NonNull() Bookmark bookmark)
Called when a new bookmark was added. Called on the UI thread.
- Parameters:
bookmark
- The recently added bookmark.
-
-
-
-