Analog ViewPager for swapping to horizontal and vertical

Is there a cool class ViewPager for swapping on a two-dimensional Views array? Paging to horizontal and vertical.

+5
source share
2 answers

Here is a project whose goal is the ability to scroll vertically and horizontally on the ViewPager:

Jake Wharton - Directional ViewPager

The project is open source, so I’m sure that you could further adapt this implementation or, perhaps, it would be adequate.

+3
source

You can achieve this by setting screenOrientation to landscape and then placing the contents of the viewpager as if it were in portrait mode.

-3

All Articles