Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Problems with thumbnails 3 years 1 month ago #15423

  • MaxM
  • MaxM's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Hello, Radae. There are problems with displaying thumbnails when first turned on. Problems appeared when using a very large pdf (184 MB). I attached a document to the Support Ticket UZZU20210212-005457-SUP. At the first load in your example, the vDraw (Canvas canvas) method in the PDFViewThumb class is triggered several times (7-8), on subsequent loads one by one. When I first load vDraw (Canvas canvas), it works hundreds of times (about 30 seconds), and this problem if at this moment, for example, turn the screen - everything freezes. Tell me what could be the problem or where to look for it. Searching for the error with the help of debug did not lead to anything. Thanks for the help.

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

Problems with thumbnails 3 years 1 month ago #15424

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
this because of scrolling. each scrolling position cause redraw.
consider that thumbnail view is small, each redraw shall be fast.
The following user(s) said Thank You: MaxM

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

Problems with thumbnails 3 years 1 month ago #15425

  • MaxM
  • MaxM's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Thanks for the answer. Is there any way to skip scrolling on first boot?

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

Problems with thumbnails 3 years 1 month ago #15426

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
dear user, please try to update 2 java files i attached here.
the new thumb view scroll and redraw only when viewer is visible.

we think this behaviour as minor issue.
Attachments:
The following user(s) said Thank You: MaxM

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

  • Page:
  • 1
Powered by Kunena Forum