How can I disable page change when swiping on Android?

23 views
Skip to first unread message

Aaron

unread,
Feb 23, 2015, 5:58:05 PM2/23/15
to pdfne...@googlegroups.com
Q:

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?

A:

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.
Reply all
Reply to author
Forward
0 new messages