work with thumbnails - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

work with thumbnails 8 months 2 weeks ago #14685

  • nermeen
  • nermeen's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 945
  • Karma: 23
  • Thank you received: 86
You need to change PDFThumbView.OnPDFPageDisplayed
The following user(s) said Thank You: ShadMaxim

Please Log in or Create an account to join the conversation.

work with thumbnails 8 months 2 weeks ago #14688

  • luca.f
  • luca.f's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 76
  • Thank you received: 10
Dear user,
the behaviour you're describing is handled by the methods vOnFling() and vOnMoveEnd() of PDFViewThumb.java
The following user(s) said Thank You: ShadMaxim

Please Log in or Create an account to join the conversation.

work with thumbnails 8 months 2 weeks ago #14692

  • nermeen
  • nermeen's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 945
  • Karma: 23
  • Thank you received: 86
Dear User,

We cannot reproduce this flicker behavior.

But the rendering is done in PDFViewThumb.vDraw
The following user(s) said Thank You: ShadMaxim

Please Log in or Create an account to join the conversation.

work with thumbnails 8 months 1 week ago #14705

  • nermeen
  • nermeen's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 945
  • Karma: 23
  • Thank you received: 86
Thanks for the feedback.

We will test it and integrate in the demo.

Please Log in or Create an account to join the conversation.

work with thumbnails 7 months 4 weeks ago #14751

  • nermeen
  • nermeen's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 945
  • Karma: 23
  • Thank you received: 86
The layout is measured in PDFViewThumb.vLayout, the default behavior is to calculate the scale factor based on the thumbnail max height and use the same scale factor for all pages.

You will need to calculate the landscape ones with different scale factor, and adjust the values passed to
m_pages[cur].SetRect(left, top, m_scale);
The following user(s) said Thank You: ShadMaxim

Please Log in or Create an account to join the conversation.

work with thumbnails 7 months 3 weeks ago #14779

  • luca.f
  • luca.f's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 76
  • Thank you received: 10
We aren't able to replicate the issue with our testing documents.
could you provide us the pdf file you're using?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum