I'm building an app where I want to swipe images as though they were photos on a stack. In other words, if I swipe the top image I want it to animate moving in the direction of the swipe and have the next image underneath it visible the whole time. To accomplish this, I'm using a
Sounds to me like you wanna do something like an Image Slider.
There are great libraries existing for this purpose, this one for example:
If you don't wanna use this, here are some tips:
ImageViews are set with
When your animation starts, set the new Image to your
ImageView behind and slide the visible one away.
When the visible
ImageViewhas slided away, set it's visibility to
GONEand move it behind the second
Do this for every time a new image is loaded.
This should actually work.