here I delete an item in my RecyclerView, but I need to delete also the item with that id in the db
@Override
public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) {
itemTouchHelperAdapter.onItemRemoved(viewHolder.getAdapterPosition());
}
Aucun commentaire:
Enregistrer un commentaire