onPageChanged
Called when the user swipes to change pages.
Parameters
newPage
The new page being displayed, starting from 0.
pageCount
The total number of pages in the document.
Called when the user swipes to change pages.
The new page being displayed, starting from 0.
The total number of pages in the document.