Skip to content

Vertical view pager which also allows items to be swiped left and right (has callbacks for left and right drop zones)

Notifications You must be signed in to change notification settings

uglymittens/sideswipe-vertical-viewpager

Repository files navigation

Sideswipe-vertical-viewpager

Author: Victor Choy <[[email protected]](mailto: [email protected]), [[email protected]](mailto: [email protected])>

Copyright © 2015 www.vibin.it

About

First off, this app uses: https://github.com/LambergaR/VerticalViewPager, which is a vertical ViewPager, not horizontal (thanks for the hard work, props! Martin Sonc).

This is an sample app which allows View items inside of a vertical ViewPager to be swiped left and right. If you inspect the code, you can see that I implemented drop zones in my main layout. When the View items are dragged over these drop zones, the subscribing Activity (or Fragment) will be notified on callbacks.

Feel free to pick and choose whatever you want to use, but you will need just about everything withthe exception of "MainActivity". If you need help with your implementation, you can contact me via email (preferably Gmail).

TODOs

  • Fix the bounds of the ViewPager layout, so the views go completely off screen and looks cooler
  • Add support for reversed stack view paging... currently, the views feel paged in the wrong way
  • Make this a project library and maybe even a jar
  • Remove the possible copyrighted images :o

About Vibin

We at Vibin make cool stuff... check out our Photo Notes app and give us feedback on what you think! It's a great way to organize your photos and tag them at the same time!

App Store, Google Play

Keywords

Keywords: android, library, vertical view pager, horizontal swipe, drag and drop, cards ui

Open Source Licenses

LambergaR/VerticalViewPager Apache License Version 2.0, January 2004 (Thanks Martin Sonc!)

About

Vertical view pager which also allows items to be swiped left and right (has callbacks for left and right drop zones)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages