ask an imageview which id from r.java
<p>I want to do nothing but ask an imageview which ID the resource has which it contains</p>

<pre><code>if (ImgView.getItsImage().getThisID==R.drawable.theResource)
       //do something
</code></pre>

<p>I cant find it, any help greatly appreciated!</p>

<p>thanks, Daniel</p>
