Amrutha
Amrutha

Reputation: 575

How to swipe images in 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.

Upvotes: 3

Views: 8956

Answers (2)

pouya
pouya

Reputation: 1

Since you didn't actually explained so there can be no specific answer and here is a links you might use 1-using PageAdapter or you can use GestureDetector witch you can search in here hope it would be helpful .

Upvotes: -1

Sherif elKhatib
Sherif elKhatib

Reputation: 45942

Use a ViewPager.

The official tutorial is here: Using ViewPager for Screen Slides

Upvotes: 5

Related Questions