I am creating an android application for image sharing.In mainactivity one gridview that shows images from Arraylist<String> named img .when i clicked on any image then another activity called that have only one ImageView that shows image that i select on mainactivity, but i am not able set image in ImageView using ImageView.setImageResource(img.get(currentImage)) method.where img is ArrayList of string type.
any help will be appreciate.
ArrayListofDrawableand pass position to anotherActivityand loadImagefromDrawable ArrayListas perposition..Bitmapand need to usesetImageBitmap.