1

ANDROID: Listview wont update after deleting database data

view story
linux-howto

http://stackoverflow.com – New to Android and I'm having an issue with updating my a ListView after deleting entries from a database. In my activity I have a ListView with multiple choice checkboxes in each row. After the user presses a delete button, deleteName() gets called. deleteName() will then delete any Names that were checked in the ListView. The Names get deleted from the database, but the ListView never update. I tried using adapter.notifyDataSetChanged() but nothing happens. Why wont my ListView update? public void deleteName() { NamesDataSource datasource = new NamesDataSource(this); datasource (HowTos)