- Posts: 19
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Problems with thumbnails
IP: 37.214.61.27
5 years 6 months ago #15423
by MaxM
Problems with thumbnails was created by MaxM
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-
, 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.
IP: 111.196.247.83
5 years 6 months ago #15424
by radaee
Replied by radaee on topic Problems with thumbnails
this because of scrolling. each scrolling position cause redraw.
consider that thumbnail view is small, each redraw shall be fast.
consider that thumbnail view is small, each redraw shall be fast.
IP: 37.214.45.222
5 years 6 months ago #15425
by MaxM
Replied by MaxM on topic Problems with thumbnails
Thanks for the answer. Is there any way to skip scrolling on first boot?
IP: 111.196.241.156
5 years 6 months ago #15426
by radaee
Replied by radaee on topic Problems with thumbnails
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.
the new thumb view scroll and redraw only when viewer is visible.
we think this behaviour as minor issue.
Time to create page: 0.424 seconds