disable swipe to left to dismiss conversation

This commit is contained in:
Daniel Gultsch 2017-11-13 14:51:45 +01:00
parent 7c55d78b0a
commit 3faf951f47

View file

@ -206,9 +206,10 @@ public class ConversationActivity extends XmppActivity
transaction.replace(R.id.selected_conversation, this.mConversationFragment, "conversation"); transaction.replace(R.id.selected_conversation, this.mConversationFragment, "conversation");
transaction.commit(); transaction.commit();
listView = (EnhancedListView) findViewById(R.id.list); this.listView = findViewById(R.id.list);
this.listAdapter = new ConversationAdapter(this, conversationList); this.listAdapter = new ConversationAdapter(this, conversationList);
listView.setAdapter(this.listAdapter); this.listView.setAdapter(this.listAdapter);
this.listView.setSwipeDirection(EnhancedListView.SwipeDirection.END);
final ActionBar actionBar = getActionBar(); final ActionBar actionBar = getActionBar();
if (actionBar != null) { if (actionBar != null) {