Setting dynamic image in android based on a string
<p>Consider I have two images image_name1.png, image_name2.png in drawable resources of android. Now I would like set image like below,</p>

<pre><code>imageView.setImage(R.drawable.image_+"MyChoice"+.png);
</code></pre>

<p>where MyChoice can be name1 or name2 or some string</p>

<p>Is that possible, or do we have any solution to achieve that?</p>