On Page Changed Listener
Listener for receiving page changes caused by the user touching or dragging the PdfThumbnailBar.
See also
Functions
Link copied to clipboard
abstract fun onPageChanged(controller: PdfThumbnailBarController, @IntRange(from = 0 ) pageIndex: Int)
Called whenever the user touched or dragged across the thumbnail bar, selecting a different page. The thumbnail bar won't update its internal state (i.e. the currently shown emphasized/highlighted page) after calling this method, but will wait for a subsequent call to the document listener's onPageChanged before updating.