mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-09 20:58:02 -05:00
DeckAdapter: Get MessageClickListener by getInstance()
This commit is contained in:
parent
2e63c21d36
commit
456702a833
@ -196,7 +196,7 @@ public class DeckAdapter extends BaseAdapter
|
|||||||
public MessageListView renderConversation(Conversation conversation, ViewGroup parent)
|
public MessageListView renderConversation(Conversation conversation, ViewGroup parent)
|
||||||
{
|
{
|
||||||
MessageListView list = new MessageListView(parent.getContext(), parent);
|
MessageListView list = new MessageListView(parent.getContext(), parent);
|
||||||
list.setOnItemClickListener(new MessageClickListener());
|
list.setOnItemClickListener(MessageClickListener.getInstance());
|
||||||
|
|
||||||
MessageListAdapter adapter = conversation.getMessageListAdapter();
|
MessageListAdapter adapter = conversation.getMessageListAdapter();
|
||||||
if (adapter == null) {
|
if (adapter == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user