Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Here you should submit your bug reports with logcat.

onPage display problem with counting pages!

More
IP: 192.168.0.70 13 years 6 months ago #364 by khaled89
when a document is open in the default mode (vertical), it doesn't fill the screen vertically, some of the second page is viewed under the first one, the PDFView considers himself viewing the second page not the first page, so the onPageChanged will be fired once the user goes to the third page and it won't be fired when the user scrolls to the second page because it consider itself that its showing it already.
this makes a problem when you implement a page counter in your application.
P.S : please note that you have this problem in your application : play.google.com/store/apps/details?id=radaee.pdf&hl=en
many thanks
More
IP: 192.168.0.70 13 years 6 months ago #366 by radaee
we will check this problem for next week.
More
IP: 192.168.0.70 13 years 3 months ago #893 by khaled89
any updates regarding this problem ?
More
IP: 192.168.0.70 13 years 3 months ago - 13 years 3 months ago #894 by radaee
may you test call-back "OnPageDisplayed"?
this call-back should invoked every time, when page displayed.
Last edit: 13 years 3 months ago by .
More
IP: 192.168.0.70 13 years 3 months ago #933 by khaled89
I added a Toast message to this method to show the current page, it keeps showing the toast message, the function onPageDisplayed is being called every second, even if I don't change the page.

whats the problem in that ?
More
IP: 192.168.0.70 13 years 3 months ago - 13 years 3 months ago #937 by radaee
yes, it call-back all times for page moving.
to get current page for single page view:
you may check if right side of page is in left half of screen.
and record pageno call-back to you.
Last edit: 13 years 3 months ago by .
Time to create page: 0.421 seconds
Powered by Kunena Forum