DoubleViewPager

Android Arsenal

Horizontal + Vertical ViewPager

How it works

This library has been built with horizontal view pager which has vertical view pager on each child. When the user triggers events on each child, they pass it to the parent. Then, if the event is vertical, the child processes it, otherwise, if the event is horizontal, the parent processes it.

Then, you can swype in X and Y.

Including in your project

You can download it and add it at your project as library.

If you use gradle, you can easily include the library by specifying it as a dependency.

repositories {
    jcenter()
}

dependencies {
    compile 'com.github.juliome10:DoubleViewPager:[email protected]'
}

Samples.

Screenshots

For example, a DoubleViewPager with 4 horizontal x 4 vertical

This is the structure.