From 456702a8333a86bd9ddaa895abbc5cdff921b8ec Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Wed, 12 May 2010 11:49:36 +0200 Subject: [PATCH] DeckAdapter: Get MessageClickListener by getInstance() --- src/org/yaaic/adapter/DeckAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/yaaic/adapter/DeckAdapter.java b/src/org/yaaic/adapter/DeckAdapter.java index 6b6fee8..56f4448 100644 --- a/src/org/yaaic/adapter/DeckAdapter.java +++ b/src/org/yaaic/adapter/DeckAdapter.java @@ -196,7 +196,7 @@ public class DeckAdapter extends BaseAdapter public MessageListView renderConversation(Conversation conversation, ViewGroup parent) { MessageListView list = new MessageListView(parent.getContext(), parent); - list.setOnItemClickListener(new MessageClickListener()); + list.setOnItemClickListener(MessageClickListener.getInstance()); MessageListAdapter adapter = conversation.getMessageListAdapter(); if (adapter == null) {