To refresh data in list view ,
following is the code you written for List view Data ,
setListAdapter(yourAdapter); here, in example yourAdapter can be ArrayList or any of List of Adapters .
now , when you want to refresh data in list call ,
yourAdapter.notifyDataSetChanged(); and you are done !
Natali Lapshina wrote:If you use SimpleCursorAdapter? then try
Cursor cursor = new .....;
Requery is now deprecated and should not be used. You can instead use a Loader and an observer inside this loader to tell the list view that the content has changed and must be reloaded. Take a look at this tutorial to get yourself started