Skip to content

Commit

Permalink
Amendment to ImageLoader, always set dummy image.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Dacchille authored and mttkay committed Mar 30, 2011
1 parent 9cbd8dc commit a6e1c64
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -197,9 +197,7 @@ private static void start(String imageUrl, ImageView imageView, ImageLoaderHandl
return;
} else {
// Set the dummy image while waiting for the actual image to be downloaded.
if (imageView.getDrawable() == null) {
imageView.setImageDrawable(dummyDrawable);
}
imageView.setImageDrawable(dummyDrawable);
imageView.setTag(imageUrl);
}
}
Expand Down

0 comments on commit a6e1c64

Please sign in to comment.