Skip to content Skip to sidebar Skip to footer

Android: How To Show Images In ImageSwitcher

I have an array of files contained in the sdcard: i would like to show an item in a ImageSwitcher but could not find the SetImageBitmap but only SetImageResource, but i have not th

Solution 1:

use this below code instead of setImageBitmap. I think you have files in array.

imgSwitcher.setImageURI(Uri.fromFile(filename));

Post a Comment for "Android: How To Show Images In ImageSwitcher"