Skip to content

[BUG] pdfView_page_margin not work with cache #213

@HushIky

Description

@HushIky

📝 Describe the Bug

pdfView_page_margin works well on first load, but not work for second time
use pdfView.initWithUri() for load

app:pdfView_page_marginBottom="10dp"
app:pdfView_page_marginLeft="30dp"
app:pdfView_page_marginRight="30dp"
app:pdfView_page_marginTop="20dp"

📖 Library Version

  • **PDF Viewer Version: tested with 2.3.0~2.3.7

🖼️ Screenshots/Videos

If applicable, add screenshots or videos to help explain your problem.

first time:

Image

second time:

Image

📱 Smartphone Info:

  • Device: [e.g., Samsung Galaxy S10]
  • OS: [e.g., Android 11]
  • Library Version: [e.g., 2.0.0]

💻 Code Snippets

Include relevant code snippets or links to code repositories.

📜 Log Output/Stack Trace

Include any error logs or stack trace for more context.

💬 Additional Context

Add any other context about the problem here. Mention if the issue is consistent, specific scenarios where the bug occurs, etc.


Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions