Skip to content

Commit

Permalink
remove useless code in ImageLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
singwhatiwanna committed Dec 27, 2015
1 parent 606f232 commit e2ce9e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Chapter_12/src/com/ryg/chapter_12/loader/ImageLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public Thread newThread(Runnable r) {
public void handleMessage(Message msg) {
LoaderResult result = (LoaderResult) msg.obj;
ImageView imageView = result.imageView;
imageView.setImageBitmap(result.bitmap);
String uri = (String) imageView.getTag(TAG_KEY_URI);
if (uri.equals(result.uri)) {
imageView.setImageBitmap(result.bitmap);
Expand Down

0 comments on commit e2ce9e5

Please sign in to comment.