I am writing a world clock application in which I am using a custom list view and adapter. I show a list of cities and their times. The problem is I want to keep updating the time for each city shown in the view, as the seconds pass. How should I do this?
Share
If you have the adapter set up for the listview, you can update the adapter data set and notify the view of changes, see this api: notifyDataSetChanged(). but since it is updating every sec. I am not sure this method is efficient in terms of performance.