I'm building an android app who needs to present lots of data received from the web.
Due to the fact that it might take a long time to retrieve all the data and that the user might close the app before the process ends, I've thought about implementing it in a 'Service', store the data within a 'Content Provider' and then to query it from the app when needed.
It's also needed that when new data received, the app gets a notification like an invoked function. Is it available in this pattern?
Is it all right? And if not, What's the best design that matched this problem?
Thanks a lot!