I have a list View which updates lets say at every 30 seconds during peak hours, I want to update my list view from a Service. Which of the following options are best?
1) Using a Broadcast receiver to update the List.
2) Creating a new
Thread in my UI and reading a static variable for any changes , change the static variable from the service.
if there are any other options in your mind please tell.
Thank you