Skip to content
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

How to make it scroll vertically rather than horizontally #7

Closed
prashantraj opened this issue Jun 6, 2016 · 4 comments
Closed

How to make it scroll vertically rather than horizontally #7

prashantraj opened this issue Jun 6, 2016 · 4 comments

Comments

@prashantraj
Copy link

Please help me how to make the pdf pages scroll vertically rather than horizontally.

@voghDev
Copy link
Owner

voghDev commented Jun 9, 2016

Hello,

PDFViewPager inherits from Android's official ViewPager, so it doesn't support vertical scrolling by default.

The solution would be to do a PDFRecyclerView that can render PDF documents with vertical scrolling. That would be a different widget, not the PDFViewPager.

There are another libs that implement a vertical ViewPager, maybe it is not too difficult to adapt one of them to the current PDFViewPager implementation.

Hope it helps :)

@voghDev voghDev mentioned this issue Jun 9, 2016
@voghDev voghDev closed this as completed Jul 19, 2016
@voghDev
Copy link
Owner

voghDev commented Jan 4, 2017

Hi again,

I am experimenting an approach to this issue in #31. Take a look if you are still interested.

Thanks!

@voghDev voghDev reopened this Jan 4, 2017
@voghDev
Copy link
Owner

voghDev commented Jan 22, 2017

Hi,

Good news regarding this issue :) please have a look at the comments in #31. Gonna close this one and we follow discussion there if you don't mind.

@voghDev
Copy link
Owner

voghDev commented Apr 15, 2020

Hi,

there is an updated version of the vertical_viewpager branch

You can try it using

implementation 'es.voghdev.pdfviewpager:library:1.1.3'

Let me know if it's useful for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants