{"repo":"Bhuvaneshw/PdfViewer","free":true,"listed":false,"github":"https://github.com/Bhuvaneshw/PdfViewer","clone":"git clone https://github.com/Bhuvaneshw/PdfViewer.git","description":"A lightweight Android PDF viewer library powered by Mozilla's PDF.js, offering seamless PDF rendering and interactive features. Supports both Jetpack Compose and Xml.","language":"Kotlin","stars":125,"topics":["android","java","pdfview","pdfviewer","pdfviewer-api","mozilla-pdf","pdf-js","jetpack-compose","kotlin","pdf"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"PdfViewer A lightweight Android PDF Viewer Library powered by Mozilla's PDF.js, offering seamless PDF rendering and interactive features. Supports both Jetpack Compose and XML . Join Discord Server --- 📢 Any iOS dev interested in CMP? — check this. Screenshots PdfVision Check out the complete application developed based on PdfViewer library. Demo You can download apk from here Docs See Docs Contents 1. Setup 1.1. Setup - Kotlin DSL 1.2. Setup - Groovy DSL 2. Usage 2.1. Jetpack Compose PdfViewer 2.2. XML PdfViewer 2.3. More Examples 3. See also 4. Public Members 5. License 6. External Libraries used 7. Contributions 1. Setup 1.1. Kotlin DSL View Kotlin DSL Setup Step 1. Add the JitPack repository to your build file Add it in your root build.gradle.kts or settings.gradle.kts at the end of repositories: Step 2. Add the dependency Replace $module with compose , compose-ui , core or ui Replace $version with latest version Latest version: View Module Usage Options Compose PDF Viewer (Core only) Minimal setup for rendering PDFs using Jetpack Compose. Compose PDF Viewer with UI Components Enhanced Compose viewer setup including PdfViewerContainer, PdfToolBar, and PdfScrollBar. XML PDF Viewer (Core only) Use the minimal setup for rendering PDFs. XML PDF Viewer with UI Components Includes PdfViewerContainer, PdfToolBar, and PdfScrollBar for a complete viewing experience. [!NOTE] If you are upgrading to v1.1.0 see Migration 1.2. Groovy DSL View Groovy DSL setup Step 1. Add the JitPack ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Bhuvaneshw","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Bhuvaneshw/PdfViewer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}