Skip to content
Advertisement

Tag: notifydatasetchanged

notifyDataSetChanged(); not refreshing ListView?

I’m working on a notes app and I’m running into trouble deleting notes: after the note is deleted, it still shows in the listview. I’m trying to use notifyDataSetChanged(), but it doesn’t seem to be working for me. MainActivity: Answer You are setting adapter with a list: na.notifyDataSetChanged(); will only work if your notes list is changed. And I don’t

Advertisement