get Image Name in ImageView Android
<p>I am dynamically loading images in image view by setting </p>

<p><code>view.setBackgroundResource(cards[i])</code></p>

<p>// cards is the image array  </p>

<pre><code>cards[] =   {R.drawable.image1,R.drawable.image2....}
</code></pre>

<p>is there any way I can know the image name or image id associated with image view in android?</p>
