AndroidPdfViewer: App crash when using ".pages()"

Hey, I’m facing an issue since ā€˜3.0.0-beta.1’ I have a pdf with different size width. When I try to load a given page with .pages(1) for example, the pdf load a blurry page and the app crash when I try to scroll.

Here is my code :

pdf.fromAsset("file.pdf")
    .pages(1)
    .load();

Here is an example of file : file.pdf

Here is the blurry image I get : screenshot_1514037624 screenshot_1514037634

EDIT : When I try to load all page (like .pages(1,0)) there is no problem

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (3 by maintainers)

Commits related to this issue

Most upvoted comments

Fixed in 3.0.0-beta.5 version

Thanks, I will take a look

sorry i missed the file i will load it up now