How to use swipe on different objects
<p>I'd like to use the swipe(onFling) feature of android gestures. I have some adjacent pictures to
chancge into an other picture, in case of swiping.(Just like i demonstrated on the picture)
It should work regardless, which direction the player swipe his/her finger. 
Could you give me any link? Or any idea which components should i use?<a href="https://i.stack.imgur.com/g0wJC.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g0wJC.jpg" alt="enter image description here"></a></p>