Hi, I encounter a problem with scopes. I use basic coroutines implementation in a fragment (implement CoroutineScope, define default Dispatchers and job, etc).
I launch a first coroutine on IO dispatcher, call an async work (networking), then create a dialog on main context with lambda set in a second time to trigger validation.
The problem is I need to use coroutine in it to call another webservice. I tried this but the dismiss never happened :