Added swipe to delete local contact

This commit is contained in:
M66B
2023-10-15 09:07:24 +02:00
parent c29b82763d
commit 3779945d51
4 changed files with 134 additions and 0 deletions

View File

@@ -557,6 +557,8 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
@Override
public long getItemId(int position) {
if (position < 0 || position >= selected.size())
return -1L;
return selected.get(position).id;
}