I\'ve got some troubles with notifyDataSetChanged() of a BaseAdapter. This method is called in refreshItems() and shall update the BaseAdapter of my ListActivity. On calling
Try calling invalidate()
on your ListView.
As Franco pointed out, notifyDataSetChanged()
is used to tell the ListView
that the contents of its adapter have changed, not that it needs to redraw itself. You are just changing a setting that affects how something is rendered. Try calling refreshDrawableState to tell the list to redraw.
call AbsListView.invalidateViews() on your listview after BaseAdapter.notifyDataSetChanged()