aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-07-09 21:26:26 +0200
committerChristian Schneppe <christian@pix-art.de>2018-07-09 21:26:26 +0200
commit2fae73c523f5da5da466c4f171039391a5056bcb (patch)
tree274fc6dcd7718817b1729674e7645d7fd99d015c
parent3a3ee3893d7292d5c5a13d3a044de351ecf0a674 (diff)
click on item selection
-rw-r--r--src/main/java/de/pixart/messenger/ui/ChooseContactActivity.java3
1 files changed, 3 insertions, 0 deletions
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());