- Posts: 100
- 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
when i am zoom in continuously view is gone
- asliyanage
- Topic Author
- Offline
- Premium Member
-
Less
More
IP: 192.168.0.71
11 years 10 months ago #7591
by asliyanage
when i am zoom in continuously view is gone was created 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.
IP: 192.168.0.71
11 years 10 months ago #7594
by radaee
Replied by radaee on topic when i am zoom in continuously view is gone
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.
and invoke PDFView.vClose() to free PDFView or PDFThumbView.
PDFView may takes 12M memory to allocate Bitmap, when zooming.
- asliyanage
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 100
- Thank you received: 0
IP: 192.168.0.71
11 years 10 months ago #7595
by asliyanage
Replied by asliyanage on topic when i am zoom in continuously view is gone
I am closing all open things as below.
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.
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.
IP: 192.168.0.158
11 years 10 months ago #7599
by nermeen
Replied by nermeen on topic when i am zoom in continuously view is gone
Does this happen with the demo project also??
Time to create page: 0.398 seconds