title: How to get the image name of the ImageView in Android?
body: <p>I have an imageview in android . I want to get the name of the image which is set in the in the imageview. How can I do that ? </p>
  
  <pre><code>ImageView v = (ImageView)findViewbyId(R.id.img);
  //String name = findImageName(v);
  if( name.equals(a))
  {
     //do something
  } 
  else{
     //do something
  }
  </code></pre>