DImuthuUpe / AndroidPdfViewer

Android view for displaying PDFs rendered with PdfiumAndroid
Apache License 2.0
8.17k stars 1.91k forks source link

One-finger scrolling not supported ? #1162

Closed Bumaza closed 1 year ago

Bumaza commented 1 year ago

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()