Skip to content

shubhu251/DoubleViewPager

 
 

Repository files navigation

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:1.0.4@aar'
}

Samples.

  • You can see a sample project for Eclipse ADT on Eclipse Sample

  • There's another sample project for Android Studio on Android Studio Sample

  • You can test it downloading a sample app on play store.

Screenshots

For example, a DoubleViewPager with 4 horizontal x 4 vertical

This is the structure.

About

Horizontal + Vertical ViewPager

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%