How to refresh ListView dynamically?
问题 I am making a ListView with TextView and 1 delete button for each row. To populate the list I am using my custom adaptor (extends base adapter) and sqlite db to map into list. My requirement is onclick of delete button in a row that record should be deleted and list should refresh. I am able to delete record from db but my list is not refreshing until I rotate the device or assign a new instance of my adapter from activity. I have tried following answer but didn't work in my case. the