how to overide vOnZoomEnd() method - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
01 Jun 2018
During last few days we're experiencing some delay in website stmp provider channel.
Some notification email from the website might not reaching containers.
We're working on a definitive solution.
Read More...
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: how to overide vOnZoomEnd() method

how to overide vOnZoomEnd() method 3 years 8 months ago #7384

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 100
  • Thank you received: 0
I need to overide the vOnZoomEnd() and increase the zoom facility.Can i have any example for this ?
The topic has been locked.

how to overide vOnZoomEnd() method 3 years 8 months ago #7389

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 834
  • Karma: 22
  • Thank you received: 65
First: to override vOnZoomEnd() you need to subclass PDFView

Second: vOnZoomEnd() is called after the zoom operation is finished.

Third: if you mean by increase zoom facility, increasing zoom max value, then you need to change the value of Global.zoomLevel in Global.default_config()
The topic has been locked.

how to overide vOnZoomEnd() method 3 years 8 months ago #7391

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 100
  • Thank you received: 0
can you please provide an example ?
The topic has been locked.

how to overide vOnZoomEnd() method 3 years 8 months ago #7392

  • Davide
  • Davide's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 803
  • Karma: 16
  • Thank you received: 63
Hi,
try to increase (max value is 5) the zoomLevel parameter in default_config() void in Global class..
Last edit: by poudel.
The topic has been locked.

how to overide vOnZoomEnd() method 3 years 8 months ago #7393

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 100
  • Thank you received: 0
when the page is zoom in its maximum, if i double click, i need it to zoom out.how to do this?
The topic has been locked.

how to overide vOnZoomEnd() method 3 years 8 months ago #7395

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 100
  • Thank you received: 0
maximum vbalue is no 5.I change the zoomLevel value to 10 and its working fine.
The topic has been locked.
  • Page:
  • 1
  • 2
Powered by Kunena Forum