My problem is connected when the user scrolls the ListView. I looked around and saw numerous examples of \'listview lazy image\', has also watched the video of the Google IO
Your problem is that you are colling notifyDataSetChange() inside of getView method
if(!item.get("thumbs").equals("null")){
Drawable cacheImage = loader.loadDrawable(item.get("thumbs"), new ImageManage.ImageCallback() {
public void imageLoaded(Drawable imageDrawable, String imageUrl) {
ImageView imageViewByTag = (ImageView) _listView.findViewWithTag(imageUrl);
if(imageViewByTag != null)
imageViewByTag.setBackgroundDrawable(imageDrawable);
}
});
imageView.setImageDrawable(cacheImage);
notifyDataSetChanged();
}
code above should be done outside of getView method.