BLuFeNiX
BLuFeNiX

Reputation: 2594

What is the simplest way to show images in slideshow?

I have a List of URLs that I would like to load into a slideshow using Universal Image Loader. I just want something that will handle the swiping left/right, and lets me do something like this to populate the image:

ImageView imageView = (ImageView)grid.findViewById(R.id.img);
ImageLoader.getInstance().displayImage(imageUrls.get(position), imageView);

I have looked at ViewPager, but it's only in the support libraries and looks overly complicated for what I want to do. What's the easiest way to get this done? I am targeting KitKat and above.

Upvotes: 0

Views: 1345

Answers (1)

UMESH0492
UMESH0492

Reputation: 1731

try to check out this tut, http://www.androidhive.info/2013/09/android-fullscreen-image-slider-with-swipe-and-pinch-zoom-gestures/

Thanks and you would find many other good tuts on android hive. You may also refer http://www.androidexample.com for other tuts.

Upvotes: 1

Related Questions