- Posts: 13
- Thank you received: 0
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!
IP: 192.168.0.70
13 years 6 months ago #364
by khaled89
onPage display problem with counting pages! was created 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
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
IP: 192.168.0.70
13 years 6 months ago #366
by radaee
Replied by radaee on topic onPage display problem with counting pages!
we will check this problem for next week.
IP: 192.168.0.70
13 years 3 months ago #893
by khaled89
Replied by khaled89 on topic onPage display problem with counting pages!
any updates regarding this problem ?
IP: 192.168.0.70
13 years 3 months ago - 13 years 3 months ago #894
by radaee
Replied by radaee on topic onPage display problem with counting pages!
may you test call-back "OnPageDisplayed"?
this call-back should invoked every time, when page displayed.
this call-back should invoked every time, when page displayed.
Last edit: 13 years 3 months ago by .
IP: 192.168.0.70
13 years 3 months ago #933
by khaled89
Replied by khaled89 on topic onPage display problem with counting pages!
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 ?
whats the problem in that ?
IP: 192.168.0.70
13 years 3 months ago - 13 years 3 months ago #937
by radaee
Replied by radaee on topic onPage display problem with counting pages!
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.
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