I'm trying to create an app where users can swipe through a deck of photos. After swiping left or right, the previous photo should be deleted and the next photo is shown.
Android's ViewPager seems ideal for this except it models a slideshow rather than a deck. How can I make it go to the same next page when the user swipes either left or right?
One way to possibly do this is by creating a set of pages that are symmetrical in either direction. Then if the ViewPager is always fixed on the middle of these pages, then it will appear to be moving in one direction. This seems more like a hack, so I was hoping someone may know a better way to do this.