From 2fae73c523f5da5da466c4f171039391a5056bcb Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Mon, 9 Jul 2018 21:26:26 +0200 Subject: click on item selection --- src/main/java/de/pixart/messenger/ui/ChooseContactActivity.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/main/java/de/pixart/messenger/ui/ChooseContactActivity.java b/src/main/java/de/pixart/messenger/ui/ChooseContactActivity.java index 54bd31708..a760a563b 100644 --- a/src/main/java/de/pixart/messenger/ui/ChooseContactActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ChooseContactActivity.java @@ -207,6 +207,9 @@ public class ChooseContactActivity extends AbstractSearchableListItemActivity im @Override public void onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) { + if (selected.size() != 0) { + getListView().playSoundEffect(0); + } Contact item = (Contact) getListItems().get(position); if (checked) { selected.add(item.getJid().toString()); -- cgit v1.2.3