Q:

Compare picture in imageview to resources?

I'm new to android programming, and wondered if there is a way to compare a specific picture in an imageview to a resource image to see whether they are the same? Thank you in advance!

A:

When u initialize imageview use to setTag("1")
and when u want to check then use if(imageview.getTag("1")) and u can do whatever operation u like..

