views:

36

answers:

1

The Listitem would not be retrieved from the db. It is passed over from another class.

+1  A: 

You don't "delete a listitem from a listview". You modify the data held by the ListAdapter that is supporting the ListView. If the adapter is an ArrayAdapter, call remove() on the ArrayAdapter. If the adapter is a CursorAdapter, remove the item from the database and requery() the Cursor. And so on.

CommonsWare
Could you give a sample code?
User358218