The PDF library currently requires two-finger scrolling to navigate through the PDF document ?
Or How can I set up one-finger scrolling to navigate to navigate through the PDF document .
Thank you.
Using JetpackCompose wrapper in Android View
PDFView(context, null).apply {
fromFile(pdfFile)
.pageFitPolicy(FitPolicy.WIDTH)
.enableSwipe(true)
.swipeHorizontal(false)
.enableDoubletap(true)
.pageSnap(true)
.pageFling(true)
.disableLongpress()
.load()
The PDF library currently requires two-finger scrolling to navigate through the PDF document ? Or How can I set up one-finger scrolling to navigate to navigate through the PDF document . Thank you.
Using JetpackCompose wrapper in Android View PDFView(context, null).apply { fromFile(pdfFile) .pageFitPolicy(FitPolicy.WIDTH) .enableSwipe(true) .swipeHorizontal(false) .enableDoubletap(true) .pageSnap(true) .pageFling(true) .disableLongpress() .load()