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

How to get zoom state

More
IP: 192.168.0.71 11 years 8 months ago #6620 by douglasmedia
Hello,

I wan't to do an specific action when the page is zoomed in. So I need something like a zoom listener. How can I achieve that?

Thanks for your help!
More
IP: 192.168.0.158 11 years 7 months ago #6627 by nermeen
Replied by nermeen on topic How to get zoom state
You can customize PDFView and ovveride vOnZoomEnd() .. or vOnTimer(Object)
check
www.androidpdf.mobi/forum/Android-develo...eed-more-events#6212
More
IP: 192.168.0.71 11 years 7 months ago #6643 by douglasmedia
Replied by douglasmedia on topic How to get zoom state
Thanks for your reply. I tried it by overriding the vOnZoomEnd()-Method and it works quiet well. But what I want is to disable a ViewPager when the pdf is zoomed in and enable the ViewPager again when the pdf document is zoomed out. How can I get those zoom states?
More
IP: 192.168.0.158 11 years 7 months ago #6653 by nermeen
Replied by nermeen on topic How to get zoom state
You can do this by calling m_view.vGetScale() and compare the value with m_view.vGetMinScale() and m_view.vGetMaxScale()
Time to create page: 0.393 seconds
Powered by Kunena Forum