From 3c3de7e4654455e3a753a8c2bad991232be8cfe5 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Tue, 8 May 2018 20:17:21 +0200 Subject: [PATCH] Remove selection listener Signed-off-by: Mario Danic --- .../com/nextcloud/talk/controllers/ChatController.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java index 3b132f768..7fcf8d30e 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java +++ b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java @@ -93,7 +93,7 @@ import retrofit2.Response; @AutoInjector(NextcloudTalkApplication.class) public class ChatController extends BaseController implements MessagesListAdapter.OnLoadMoreListener, - MessagesListAdapter.Formatter, MessagesListAdapter.SelectionListener { + MessagesListAdapter.Formatter { private static final String TAG = "ChatController"; @Inject @@ -174,7 +174,6 @@ public class ChatController extends BaseController implements MessagesListAdapte messagesList.setAdapter(adapter); adapter.setLoadMoreListener(this); adapter.setDateHeadersFormatter(this::format); - //adapter.enableSelectionMode(this); setupMentionAutocomplete(); @@ -511,9 +510,4 @@ public class ChatController extends BaseController implements MessagesListAdapte return callIntent; } - - @Override - public void onSelectionChanged(int count) { - //globalMenu.findItem(R.id.action_delete).setVisible(count > 0); - } }