mitmel/Locast-Android — pull request #18 by piacentecristian (2011-12-05 06:39:13+00:00)
Title: Synchronization status

Now in the empty lists or views (BrowserHome, ItineraryList ... ), when a synchronization is in progress in the background the text says loading data, while when no synchronization is runnig and there is no data to display the old text "No data available" is shown. It is based on sticky broadcast intents. Because of the new synch framework there is no way to intercept when the main synch process is started and ended, so the notification of start and end are send for every synchronized element.
The Refresh button animation of BrowserHome could also be updated using this method, since now it isn't updated correctly.