Mark McCormick
11/11/2020, 9:51 AMwitchContext(<http://Dispatchers.IO|Dispatchers.IO>)
for all the rest api calls. Do you have any suggestions? Thank you :)Ferran
11/11/2020, 9:55 AMAfter I load the items I load additional info for each item on the dashboardthis is why you have to wait What you want is to pass the data back before all the coroutines finish. You can do that by: • a callback • a flow • a stateFlow/sharedFlow
Mark McCormick
11/11/2020, 10:05 AM