How can I disable page change when swiping on Android?


When I’m in single page mode on Android, I want to the swiping gesture to move the page around but not change pages. How can I do so?


This can be done by the following steps:

  1. call mPDFViewCtrl.setBuiltInPageSlidingEnabled(false) after initializing PDFViewCtrl
  2. search in PDFViewCtrlTools project, replace all mPdfViewCtrl.setBuiltInPageSlidingEnabled(true) to mPdfViewCtrl.setBuiltInPageSlidingEnabled(false)

This should disable the built-in page sliding in PDFViewCtrl.