New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrollbars and Fast Scrolling #52
Comments
Hi, thanks for using the lib. I haven't tried to implement fast scrolling, but I guess you have enough mechanisms to do a manual implementation. I would add the thumb, then capture its position each time and switch to the requested page. With the help of some CustomViews it should work and look great |
thanks for replying mate, one more thing, i am using multiple instances of remotepdfviewpager to load two pdf's in respective fragments but on resuming the previous fragment the adapter crashes with 'cannot load page' error. Any idea how o fix this? already tried setting ofpagescreenlimit to a large value but it messes with page order |
Hello again, you mean, having two fragments, and each one a PDFViewPager? are these fragments in Tabs? Maybe the scrolling could be counter-intuitive (scroll left/right to change tab, then to change page of the PDF). I haven't tried to have multiple PDFViewPager objects in the same page, but it should work, as each instance is independent and manages its own memory. Would be good to know your fragment configuration a little deeper. Thanks! |
First of all thankyou for this awesome library.
If any of you are getting the SIGSEGV error, try converting your pdf to doc and back to pdf again. In my case it fixed the error.
Secondly, is there a way to implement scrollbar in the viewpager and enable fast scrolling like google docs where we can zoom out and scroll quickly to the page of choice or scroll by dragging the scrollbar.
The text was updated successfully, but these errors were encountered: