When I set enableSwipe to false, I can still swipe through the pages. The only difference when I set enableSwipe(true) is that, the swiping begins when I touch the View. When it's set to false, it doesn't swipe until I stop touching the View.
pdfView.fromStream(inputStream)
.onLoad(this)
.onError(this)
.enableSwipe(false)
.swipeHorizontal(false)
.enableDoubletap(enableDoubletap)
.defaultPage(defaultPage)
.enableAnnotationRendering(false) // render annotations (such as comments, colors or forms)
.enableAntialiasing(true) // improve rendering a little bit on low-res screens
.load();
When I set enableSwipe to false, I can still swipe through the pages. The only difference when I set enableSwipe(true) is that, the swiping begins when I touch the View. When it's set to false, it doesn't swipe until I stop touching the View.
How to fix this?