Skip to content

bennysway/Vertical-ViewPager-Horizontal-ViewPager-Android

 
 

Repository files navigation

Vertical-ViewPager-Horizontal-ViewPager-Android

This application contains custom ViewPager which provide the effect of vertical card swiping

sample.gif

To use VerticalViewPager

Add following code into your layout xml file

<com.mohit.verticalviewpager.VerticalViewPager android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/viewPager" />

Add below code into you java file

VerticalViewPager mViewPager = (VerticalViewPager) findViewById(R.id.viewPager);

Now viewpager will provide you above effect with all the functionality of normal viewpager.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%