DImuthuUpe / AndroidPdfViewer

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

One-finger scrolling not supported ? #1162

Closed Bumaza closed 9 months ago

Bumaza commented 9 months 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()