For a start, there are plenty of questions and answers about this subject, but my question is about what is the best practice in my specific case.
To keep the question short, my app will have:
- Service to keep running after user minimize/end the app.
- Service runs a task every 30min looking for new info.
- Service shows notification when new info found.
- When user start/restore the app, the new info should show on the UI.
I don't see the point of continuously updating the UI on a hidden activity, so what is the best solution here?