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

viewpager issue

More
IP: 192.168.0.71 11 years 2 months ago #8326 by rockycamacho
viewpager issue was created by rockycamacho
Hello

Sometimes when swiping very fast, canScrollHorizontally is not getting called. This results in the viewpager scrolling to the next item instead of scrolling through all the pdf pages. Is there a way to fix this? Is there was a way to detect when a page is rendering/rendered? Maybe I can disable the viewpager from swiping.

My implementation of canScrollHorizontally is based on previous threads here:
Code:
@Override public boolean canScrollHorizontally(int direction) { if (direction < 0) { final boolean hasReachedLeftEdge = m_view.vGetX() == 0; return !hasReachedLeftEdge; } final boolean hasReachedRightEdge = m_view.vGetX() + m_view.vGetWinW() >= m_view.vGetDocW(); return !hasReachedRightEdge; }

I would appreciate any help on this issue as it is very critical for my work.
Thanks,
Rocky
More
IP: 192.168.0.71 11 years 1 month ago #8347 by rockycamacho
Replied by rockycamacho on topic viewpager issue
Please, I need help with this issue. I have a premium license.
Time to create page: 0.380 seconds
Powered by Kunena Forum