From c9291c24d7a0a0bf31b33ca0c12ec9a8c2dfebe5 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 28 Jul 2014 11:50:25 -0700 Subject: #371 Keep track of current running imageTask --- src/github/daneren2005/dsub/view/UserView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } } -- cgit v1.2.3