diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-07-28 11:50:25 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-07-28 11:50:25 -0700 |
commit | c9291c24d7a0a0bf31b33ca0c12ec9a8c2dfebe5 (patch) | |
tree | 5104662de7a02bb6c9d7674e3bf63096a53509b0 /src | |
parent | 352876ab45054df7a70c1c13962b12c6d3d5232f (diff) | |
download | dsub-c9291c24d7a0a0bf31b33ca0c12ec9a8c2dfebe5.tar.gz dsub-c9291c24d7a0a0bf31b33ca0c12ec9a8c2dfebe5.tar.bz2 dsub-c9291c24d7a0a0bf31b33ca0c12ec9a8c2dfebe5.zip |
#371 Keep track of current running imageTask
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/view/UserView.java | 2 |
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());
}
}
|