Author: Victor Choy <[[email protected]](mailto: [email protected]), [[email protected]](mailto: [email protected])>
Copyright © 2015 www.vibin.it
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).
- 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
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!
Keywords: android, library, vertical view pager, horizontal swipe, drag and drop, cards ui
LambergaR/VerticalViewPager Apache License Version 2.0, January 2004 (Thanks Martin Sonc!)