PageNavigationEventListener

Interface for listening to page navigation events in a PDF previewer.

Functions

Link copied to clipboard
abstract fun onPageChanged(newPage: Int, pageCount: Int)

Called when the user swipes to change pages.

Link copied to clipboard
abstract fun onPageScrolled(page: Int, positionOffset: Float)

Called on every move while scrolling.