I am working on an application in which I have a background task executing via service. I have a list showing some data elements in it. My Scenario is:
1- User set something to execute in bg and does not close the app and leaves it in this state.
2- Background process starts working, it completes its work and finishes. But list is still showing the task user entered. It should have been removed from the list.
This is the very functionality I want to achieve. How can I achieve that?
Remember if user performs some action like navigate to other screen etc, I have coded it to get new list for view. But if user leaves it idle after scheduling something, view does not refresh. Please help me out of this. Any help is appreciated.