I want to make an activity where i want to use multiple images and want to swipe it in the same activity.
can anyone help me with the code here because im new to android and i tried reading the gesture class but couldnt figure out the proper solution..
i have four imageViews with me and using a single activity class would like to change the views using a swipe!!!
i also tried using the gestureDetector class but it is deprecated from android!!
The easiest way is to create a GalleryView and provide a gallery adapter that contains the images you want to display and you can also slide them with the finger without any need of gesture recognition.
Have a look at this link http://saigeethamn.blogspot.de/2010/05/gallery-view-android-developer-tutorial.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.