I want to display a progress circle spinning when adding the markers to my map. The problem is that this function needs to be called from the main UI thread:
mMap.addMarker(mo);
So, how can I call a for loop adding markers while displaying a spinning progress bar on the screen? It's the inverse normal problem, because normally you should display the progress on the main UI and load the data on a thread, but in this case must be inversed because the data adding only can be done on the main UI thread.
Can this be achieved?