ImageView onImageChangedListener Android

actionlistener, android, image, imageview

Solution

Check the imageview code in grepcode. You don't know when it is changed or redrawn. It is because after you setImageDrawable(), imageview will invalidate. At this time, the image IS NOT CHANGED correctly until ondraw is called.

Anyway, why do you want to know the onimagechangedlistener?

Problem

Is there an onImageChangedListener() on a ImageView? I need the event when the image is changed from the ImageView.

Original source

Related problems