| com.pdftron.pdf.PDFViewCtrl.PageChangeListener |
Known Indirect Subclasses
CollabViewerTabFragment,
CollabViewerTabFragment2,
DocumentSlider,
NotificationThumbnailSlider,
PageIndicatorLayout,
PdfViewCtrlTabBaseFragment,
PdfViewCtrlTabFragment,
PdfViewCtrlTabFragment2,
ThumbnailSlider
| |||||||||||||||||||||||||||||
Used for receiving notifications in UI thread when the current page changes.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
onPageChange(int old_page, int cur_page, PDFViewCtrl.PageChangeState state)
Called in UI thread when the current page changes.
| ||||||||||
Called in UI thread when the current page changes.
Note: If state is BEGIN or
END, values of old_page and cur_page are
the same, which is the current page number. In continuous page
presentation mode, state parameter is always
END.
| old_page | the old page number |
|---|---|
| cur_page | the current (new) page number |
| state | in non-continuous page presentation modes and when the built-in page sliding is in process, this flag is used to indicate the state of page change. |
