aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-07-28 11:50:25 -0700
committerScott Jackson <daneren2005@gmail.com>2014-07-28 11:50:25 -0700
commitc9291c24d7a0a0bf31b33ca0c12ec9a8c2dfebe5 (patch)
tree5104662de7a02bb6c9d7674e3bf63096a53509b0
parent352876ab45054df7a70c1c13962b12c6d3d5232f (diff)
downloaddsub-c9291c24d7a0a0bf31b33ca0c12ec9a8c2dfebe5.tar.gz
dsub-c9291c24d7a0a0bf31b33ca0c12ec9a8c2dfebe5.tar.bz2
dsub-c9291c24d7a0a0bf31b33ca0c12ec9a8c2dfebe5.zip
#371 Keep track of current running imageTask
-rw-r--r--src/github/daneren2005/dsub/view/UserView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/view/UserView.java b/src/github/daneren2005/dsub/view/UserView.java
index 69179367..1a0192a1 100644
--- a/src/github/daneren2005/dsub/view/UserView.java
+++ b/src/github/daneren2005/dsub/view/UserView.java
@@ -49,6 +49,6 @@ public class UserView extends UpdateView {
protected void setObjectImpl(Object obj, Object obj2) {
this.user = (User) obj;
usernameView.setText(user.getUsername());
- ((ImageLoader)obj2).loadAvatar(context, avatarView, user.getUsername());
+ imageTask = ((ImageLoader)obj2).loadAvatar(context, avatarView, user.getUsername());
}
}