ListView not “refreshing” after item is deleted from it
问题 I am trying to figure out how I "Refresh" the list view the user is on when an item from my listview is deleted. I have tried notifyDataSetChanged() but to no avail, which is puzzling to me because this works when I add an item. P.S. I know the item is getting deleted because if I press the back button and get to my activity again, the item is removed from the listview visually. public void deleteButtonClicked(View view){ dbHandler.deleteExerciseFromDatabase(exerciseClickedbyUser,