android - Getting issues with ImageView invalidate in ListView -


i have customised list view in have taken imageview , textviews roeitems. in adapter each rowitem download image server , in handler update imageview downloaded image , invalidate imageview. below code handler -

handler handler = new handler() {     @override     public void handlemessage(message msg) {         imageview imgfileicon = (imageview) msg.obj;         imgfileicon.setimagedrawable("my image path");         imgfileicon.invalidate();     } }; 

after doing imageview gets updated each row item, when scroll down list , come top images of imageview gets replaced each other. means imageview randomly changes images. not getting behaviour happening first time. can tell me if has faced same problem solution.

thanks in advance.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -