How to swipe left and right for intent from one page to another page in android
<p>Hi i have a list of five activities and i want to intent from one page to another by animation
, it will work for only two activities. If i swipe right to left in first screen it should go to second screen like wise if i swipe from right to left in second screen it should go to third activity and so on to fourth and fifth activity. Similarly if i swipe from left to right from fifth screen it should go on fourth and then third and then second and finally it should display first screen. Can anyone help me.</p>

<p>Thanks in advance</p>
