0

I m new to android programing, i was displaying database content on list view and on click the list view item will delete that field from database but problem is that when click item data is deleted but changes are not reflected on listview. Once when come again to that page you can see the changes.

jaimin
  • 563
  • 8
  • 25
LoneRanger
  • 117
  • 8

1 Answers1

0

Just use :

adapter.notifyDataSetChanged();
Paritosh
  • 2,097
  • 3
  • 30
  • 42