Hi! I have to call a service to get the status of a job after I have started it(so that I can set it as completed), and the service can use several minutes to complete the job. Is it a good idea to do this in a coroutine and then create another coroutine if the process is not done? Or should I do this another way? I need some kind of retry mechanism.
11/10/2020, 8:23 AM
I think it's a good idea when you use it with Workmanager than a service, Workmanager is lighter and recommended