when i am zoom in continuously view is gone - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: when i am zoom in continuously view is gone

when i am zoom in continuously view is gone 4 years 2 weeks ago #7591

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 100
  • Thank you received: 0
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.
The topic has been locked.

when i am zoom in continuously view is gone 4 years 2 weeks ago #7594

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
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.
The topic has been locked.

when i am zoom in continuously view is gone 4 years 2 weeks ago #7595

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 100
  • Thank you received: 0
I am closing all open things as below.
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.
The topic has been locked.

when i am zoom in continuously view is gone 4 years 2 weeks ago #7599

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
Does this happen with the demo project also??
The topic has been locked.
  • Page:
  • 1
Powered by Kunena Forum