Remove selection listener

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-05-08 20:17:21 +02:00
parent 3a58a65bc7
commit 3c3de7e465

View file

@ -93,7 +93,7 @@ import retrofit2.Response;
@AutoInjector(NextcloudTalkApplication.class) @AutoInjector(NextcloudTalkApplication.class)
public class ChatController extends BaseController implements MessagesListAdapter.OnLoadMoreListener, public class ChatController extends BaseController implements MessagesListAdapter.OnLoadMoreListener,
MessagesListAdapter.Formatter<Date>, MessagesListAdapter.SelectionListener { MessagesListAdapter.Formatter<Date> {
private static final String TAG = "ChatController"; private static final String TAG = "ChatController";
@Inject @Inject
@ -174,7 +174,6 @@ public class ChatController extends BaseController implements MessagesListAdapte
messagesList.setAdapter(adapter); messagesList.setAdapter(adapter);
adapter.setLoadMoreListener(this); adapter.setLoadMoreListener(this);
adapter.setDateHeadersFormatter(this::format); adapter.setDateHeadersFormatter(this::format);
//adapter.enableSelectionMode(this);
setupMentionAutocomplete(); setupMentionAutocomplete();
@ -511,9 +510,4 @@ public class ChatController extends BaseController implements MessagesListAdapte
return callIntent; return callIntent;
} }
@Override
public void onSelectionChanged(int count) {
//globalMenu.findItem(R.id.action_delete).setVisible(count > 0);
}
} }