{"id":51652549,"url":"https://github.com/codebasepk/book-reader","last_synced_at":"2026-07-14T05:02:24.455Z","repository":{"id":90436335,"uuid":"45979688","full_name":"codebasepk/book-reader","owner":"codebasepk","description":null,"archived":false,"fork":false,"pushed_at":"2015-11-12T12:26:50.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-02-28T02:11:51.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codebasepk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-11T12:13:40.000Z","updated_at":"2023-03-09T00:17:21.618Z","dependencies_parsed_at":"2023-03-13T17:58:30.774Z","dependency_job_id":null,"html_url":"https://github.com/codebasepk/book-reader","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/codebasepk/book-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebasepk%2Fbook-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebasepk%2Fbook-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebasepk%2Fbook-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebasepk%2Fbook-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codebasepk","download_url":"https://codeload.github.com/codebasepk/book-reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebasepk%2Fbook-reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35446929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-07-14T05:02:23.913Z","updated_at":"2026-07-14T05:02:24.447Z","avatar_url":"https://github.com/codebasepk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-android--pdfview-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1332)\n\n[![Screenshot of the sample app](https://raw.github.com/JoanZapata/android-pdfview/master/device.png)](https://play.google.com/store/apps/details?id=com.joanzapata.pdfview.sample)\n\n**Android PDFView** is a library which provides a fast PDFView component for Android, with ```animations```, ```gestures```, and ```zoom```. It's based on [VuDroid](https://code.google.com/p/vudroid/) for decoding the PDF file.\n\n# Get it\n\nAndroid PDFView is **available in Maven Central**.\n\n```xml\n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.joanzapata.pdfview\u003c/groupId\u003e\n\t\u003cartifactId\u003eandroid-pdfview\u003c/artifactId\u003e\n\t\u003cversion\u003e1.0.4\u003c/version\u003e\n\t\u003ctype\u003eapklib\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\nOr via gradle:\n\n```\ncompile 'com.joanzapata.pdfview:android-pdfview:1.0.4@aar'\n```\n\n# Include PDFView in your layout\n\n```xml\n\u003ccom.joanzapata.pdfview.PDFView\n        android:id=\"@+id/pdfview\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"/\u003e\n```\n\n# Load a PDF file\n\n```java\npdfView.fromAsset(pdfName)\n    .pages(0, 2, 1, 3, 3, 3)\n    .defaultPage(1)\n    .showMinimap(false)\n    .enableSwipe(true)\n    .onDraw(onDrawListener)\n    .onLoad(onLoadCompleteListener)\n    .onPageChange(onPageChangeListener)\n    .load();\n```\n\n* ```pages``` is optional, it allows you to filter and order the pages of the PDF as you need\n* ```onDraw``` is also optional, and allows you to draw something on a provided canvas, above the current page\n\n# License\n\n```\nCopyright 2013-2015 Joan Zapata\n\nThis file is part of Android-pdfview.\n\nAndroid-pdfview is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nAndroid-pdfview is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with Android-pdfview.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebasepk%2Fbook-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebasepk%2Fbook-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebasepk%2Fbook-reader/lists"}