Deleting a single SQlite row RecyclerView onSwiped
问题 I'm storing text items in a RecyclerView adapter and in a Content Provider. The list is accessible from the menu option. Items are deleted by swiping. Currently, the items are being saved, but not deleted. I've debugged and it shows that the "id" is 0(isn't being retrieved in the Main Activity): int id = (int) viewHolder.itemView.getTag(); The selected item isn't being swiped off the screen. I'm basing my code on this structure: https://www.javatips.net/api/ud851-Exercises-master/ud851