<Asynchronous operations not performing as expecte...
# stackoverflow
u
Asynchronous operations not performing as expected- Kotlin Android I have written a code to fetch data from Cloud Firestore and am trying to implement the network calls using coroutines. I have tried to follow the official guides as much as possible, but since the functions have been left incomplete in those docs, I have made adjustments according to my requirements, but those might be the problem itself. Here's the function which fetches the data: suspend fun fetchHubList(): MutableLiveData = withContext(Dispatchers.IO) { val hubList =...