mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 05:25:31 +03:00
Remove selection listener
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
3a58a65bc7
commit
3c3de7e465
1 changed files with 1 additions and 7 deletions
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue