Search code examples
androidandroid-activityandroid-studioandroid-fragmentactivityswipe-gesture

How to change activity of a screen with swipe? with some example


I have 2 screens black with scroll View in it and then I would like to change these screen with a swipe. I am using Android Studio and want to have a simple example so that i could change all the screens from one to other using swipe view. I hope the best example from the all the best developers on opposite side.

Thanks.


Solution

  • View Pager will be the best suited component. There are a lot of samples available in the net.