I really love the concept of 'Loaders', 'ContentProviders' and especially 'ContentObservers'. I use this standard pattern where data is loaded from a local db and when it's updated from my server it's refreshed with getContentResolver().notifyChange()
or something like this.
But when I use ContentProvider I have to expose my data to other apps. Why is that? I don't have any sensitive data, but it doesn't seem very elegant to me. So did I miss something here, or using ContentProvider (and thus exposing my data) is the only way to implement it easily.
What I really miss from other implementation options is to notify Loaders that new data appeared in local db.