onPageChanged

open fun onPageChanged(@NonNull document: PdfDocument, pageIndex: Int)

Called when user scrolled to a new page.

Parameters

document

Currently opened document.

pageIndex

Page number of new page.