7

Update list with RSS data

view full story
linux-howto

http://stackoverflow.com – I am working on displaying some RSS data in a ListView. I was reading up on the onProgressUpdate() method provided by the Asynchronous task class. I was wondering if it would be possible to use this method to update the listview as each item from XML is retrieved? I overrided the method here: @Override protected void onProgressUpdate(Integer... values) { adapter.notifyDataSetChanged(); } I am getting this error: Caused by: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. Any ideas (HowTos)