jacekTymicki / DoubleViewPager

Horizontal + Vertical ViewPager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.1@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.

Android app on Google Play

Screenshots

For example, a DoubleViewPager with 4 horizontal x 4 vertical

This is the structure.

About

Horizontal + Vertical ViewPager

License:Apache License 2.0


Languages

Language:Java 100.0%