Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to swipe images in Android?

Tags:

android

I am working on Android. I kept images in GridView. Now when I click on any image that image should display in seperate screen and from there the remaining images should also open while swiping. How can I achieve that task? Please help me in this regard.

like image 618
Amrutha Avatar asked Dec 28 '25 01:12

Amrutha


1 Answers

Use a ViewPager.

The official tutorial is here: Using ViewPager for Screen Slides

like image 72
Sherif elKhatib Avatar answered Dec 30 '25 14:12

Sherif elKhatib



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!