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

when i am zoom in continuously view is gone

More
IP: 192.168.0.71 11 years 10 months ago #7591 by asliyanage
I have a pp which shows a pdf on view pager.When i zoom in continuously after some time the pdf view is gone and it shows blank screen .zoom Level in the Global class is set to 5.Why it gives blank screen? how to stop this behavior ? It its not providing more zoom i need to stop zooming.
More
IP: 192.168.0.71 11 years 10 months ago #7594 by radaee
to be sure you freed all Bitmap data using Bitmap.recycle(), which Bitmap allocated by yourself.
and invoke PDFView.vClose() to free PDFView or PDFThumbView.
PDFView may takes 12M memory to allocate Bitmap, when zooming.
More
IP: 192.168.0.71 11 years 10 months ago #7595 by asliyanage
I am closing all open things as below.
Code:
if (m_thumb != null) { m_thumb.thumbClose(); m_thumb = null; } if (m_reader != null) m_reader.PDFClose(); if (m_doc != null) m_doc.Close(); if (mContentView != null) mContentView.removeAllViews();

But i don't have an Bitmap related variable.But still it gives me blank screen.When i zoom out again it show me the pdf.This happens after when i try to zoom several pdfs.
More
IP: 192.168.0.158 11 years 10 months ago #7599 by nermeen
Does this happen with the demo project also??
Time to create page: 0.398 seconds
Powered by Kunena Forum