joao.alves
12/19/2018, 10:21 PMwithContext
and leave the launch
as it is, and with the base context defined as Main + job it works just finedave08
12/20/2018, 3:57 AMsuspendCallableCoroutine { }
, which will suspend until the callback is called. Then you don't need withContext
at all.Abdul Kadir
12/20/2018, 5:46 AMdave08
12/20/2018, 7:25 AMdave08
12/20/2018, 7:26 AM