Consider I have two images image_name1.png, image_name2.png in drawable resources of android. Now I would like set image like below,
imageView.setImage(R.drawable.image_+"MyChoice"+.png);
where MyChoice can be name1 or name2 or some string
Is that possible, or do we have any solution to achieve that?