Problem description: I wanted a \"delete\" function which could perform delete/remove of the selected entry in a listview and at the same time delete the residing video file
Do you want to delete the adapter or do you want to delete a row/entry in the list? If latter, then update videoItems and call notifyDataSetChanged on your adapter. If you really want to delete the adapter, then just set it to NULL or have it refer to some other ListAdapter instance and the GC will take care of the rest.