I want to refresh a listview. When I am getting a value from different class I want it to update that to list view. I am creating a thread for refreshing the list but I am getting an exception:
Only the original thread that created a thread a view hierarchy can touch its views
How to proceed?
Instead of trying to refresh the view to update the list just take the Adapter object and call the notifyDataSetChanged() API.