Android : create a image gallery that cache and download images from the web with odd swipe action

on Saturday, August 2, 2014


I'm new to android development and I want to create a navigation concept which is a little weird for android and not sure what is the best way to develop this.


In a nutshell the application hold an endless collection of images downloaded from the server as the collection processed with buffering to make it smoother. The general Idea is that I see the image full screen and have the ability to either swipe left or right, each direction represent a different action on the image and will show a small image near the image during the swipe to indicate which action I selected. Afterwards regardless on which action I selected it will swipe to the next image in the collection. What would be the best direction to solve this problem, PagerAdapte or FragmentStatePagerAdapter (since I don’t have the ability to navigate back to an image)? Manually implementing the swipe using listeners? Also how do I deal with showing the small images without making the code too awkward? Should I use Volley for the image downloading? enter image description here


0 comments:

Post a Comment