Carefully using some sort of DataManager
singleton instance, backed up by a database seems to be a robust solution. Using ResultReceiver
s, the UI gets notified and pulls the data from the DataManager
.
I have also found out that using ResultReceiver
s and Broadcast
s to send data has a negative impact on performance, because the objects need to be serialized. This is a costly operation, and GC might kick in because of it.