disable swipe to left to dismiss conversation
This commit is contained in:
parent
7c55d78b0a
commit
3faf951f47
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue