public static interface

BookmarkProvider.BookmarkListener

com.pspdfkit.bookmarks.BookmarkProvider.BookmarkListener
Known Indirect Subclasses

Class Overview

Listener for notifying other components when bookmarks change.

Summary

Public Methods
abstract void onBookmarkAdded(Bookmark bookmark)
Called when a new bookmark was added.
abstract void onBookmarksChanged(List<Bookmark> bookmarks)
Called when bookmark list has been changed in some way.

Public Methods

public abstract void onBookmarkAdded (Bookmark bookmark)

Called when a new bookmark was added. Called on the UI thread.

Parameters
bookmark The recently added bookmark.

public abstract void onBookmarksChanged (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. The list is sorted.