How can I fetch all images from single child and show them with viewflipper

58 Views Asked by At

please help me solving my problem. I want to make images swipable left to right or right to left in an ImageView so it look like a slider but not auto start, if swipe next image will ippear in the same view. please see my database structure as image attachment. I want same database structure as shown in attachment.

Please see the database structure

1

There are 1 best solutions below

0
uzair raza On

Use ViewPager for image slider.

Overview of ViewPager: It contain PagerAdapter (just like Recyclerview Adapter) to all child fragments. You can use ImageView in Fragment to show images.

Reference links:

https://developer.android.com/training/animation/screen-slide

https://www.journaldev.com/10096/android-viewpager-example-tutorial