{"id":13614899,"url":"https://github.com/Dmitry-Borodin/pdfview-android","last_synced_at":"2025-04-13T20:32:29.439Z","repository":{"id":35047875,"uuid":"167713262","full_name":"Dmitry-Borodin/pdfview-android","owner":"Dmitry-Borodin","description":"Small Android library to show PDF files","archived":false,"fork":false,"pushed_at":"2022-06-13T13:07:44.000Z","size":5531,"stargazers_count":294,"open_issues_count":26,"forks_count":48,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-10-01T07:24:39.680Z","etag":null,"topics":["android","android-pdf","android-pdfviewer","hacktoberfest","library","pdf","pdf-viewer"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dmitry-Borodin.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-26T16:51:05.000Z","updated_at":"2024-09-10T13:33:13.000Z","dependencies_parsed_at":"2022-08-08T04:15:15.551Z","dependency_job_id":null,"html_url":"https://github.com/Dmitry-Borodin/pdfview-android","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dmitry-Borodin%2Fpdfview-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dmitry-Borodin%2Fpdfview-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dmitry-Borodin%2Fpdfview-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dmitry-Borodin%2Fpdfview-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dmitry-Borodin","download_url":"https://codeload.github.com/Dmitry-Borodin/pdfview-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223605471,"owners_count":17172496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-pdf","android-pdfviewer","hacktoberfest","library","pdf","pdf-viewer"],"created_at":"2024-08-01T20:01:06.872Z","updated_at":"2024-11-07T23:30:32.815Z","avatar_url":"https://github.com/Dmitry-Borodin.png","language":"Java","funding_links":[],"categories":[":shamrock:  **Categories**"],"sub_categories":[":gear: Utilities"],"readme":"# pdfview\n\n[![Build Status](https://app.bitrise.io/app/40d453ac50882d9c/status.svg?token=BfV89EoWjOEfvATradLDOw\u0026branch=dev)](https://app.bitrise.io/app/40d453ac50882d9c)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.dmitryborodin/pdfview-android/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/com.dmitryborodin/pdfview-android)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-PdfView--Android-green.svg?style=flat )]( https://android-arsenal.com/details/1/7820 )\n\nAndroid PDF view - small (73kB .aar file, ~400 methods before minification) and efficient PDF viewer embedded in your native app\n\nIt is based on ImageView and can handle big files with reasonable scrolling and zooming performance. \n\nThis is how fast scrolling of 680 page document looks like on low-end device:\n\n![Example1](gifs/fast_scrolling_on_weak_device.gif)\n\n## Usage:\n\nTo show pdf you just need a file on the device.\n\n```\nfindViewById\u003cPDFView\u003e(R.id.activityMainPdfView).fromAsset(\"paper.pdf\").show()\n```\nSee [sources](/pdfview-android/src/main/java/com/pdfview/PDFView.kt) for other methods to provide a file.\n\nIf pdf is on remote host - use your network client to download it to the cache folder, then show it. This library provides view, it doesn't do network requests.\n\nThere is a [sample](/sample-network) of how to do it.\n\n## Add to your project:\n\nThe library is hosted in the central repository.\n```\n     repositories {\n        \u003c...\u003e\n        mavenCentral()\n    }\n```\n\nAdd gradle dependency:\n```\nimplementation \"com.dmitryborodin:pdfview-android:1.1.0\"\n```\n\n## Wiki\nPlease take a look into [the wiki](/../../wiki) to find out the technical details.\n\n## Contrubitions\n\nContributions are welcome. \nJust open PR to dev branch.\n\nFeel free to open issue with any questions.\n\n## Credits\nThanks to [Manuel Lilienberg](https://github.com/mlilienberg) for initial implementation of this library and [subsampling-scale library](https://github.com/davemorrissey/subsampling-scale-image-view) for influence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDmitry-Borodin%2Fpdfview-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDmitry-Borodin%2Fpdfview-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDmitry-Borodin%2Fpdfview-android/lists"}