click on item selection
This commit is contained in:
parent
68f23af219
commit
d6a40a839a
|
@ -207,6 +207,9 @@ public class ChooseContactActivity extends AbstractSearchableListItemActivity im
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) {
|
public void onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) {
|
||||||
|
if (selected.size() != 0) {
|
||||||
|
getListView().playSoundEffect(0);
|
||||||
|
}
|
||||||
Contact item = (Contact) getListItems().get(position);
|
Contact item = (Contact) getListItems().get(position);
|
||||||
if (checked) {
|
if (checked) {
|
||||||
selected.add(item.getJid().toString());
|
selected.add(item.getJid().toString());
|
||||||
|
|
Loading…
Reference in New Issue