diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-07 21:49:31 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-07 21:49:31 +0100 |
commit | 014f5a195b84a02c44401acf4d99b29020a4951a (patch) | |
tree | 15fa70f0fe2d5928d39677b34452f49fe523a517 /src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java | |
parent | e45d7bda3886989cf43be557cbb25889477c9068 (diff) |
bug fixes for the previous ui refactoring
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java index da7a548c5..f2227308b 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java @@ -364,6 +364,7 @@ public class MessageAdapter extends ArrayAdapter<Message> { R.layout.message_status, parent, false); viewHolder.contact_picture = (ImageView) view .findViewById(R.id.message_photo); + view.setTag(viewHolder); break; default: viewHolder = null; @@ -375,7 +376,6 @@ public class MessageAdapter extends ArrayAdapter<Message> { if (type == STATUS) { if (item.getConversation().getMode() == Conversation.MODE_SINGLE) { - viewHolder.contact_picture.setImageBitmap(activity .avatarService().get( item.getConversation().getContact(), |