Hello, does anybody have an article or an answer t...
# android
c
Hello, does anybody have an article or an answer to a question I'm asking myself? I'm wondering if I should rather use coroutines or threads to manage networking? Is it possible for example to use a ViewModel to manage the data for the views, and when an event happens in the UI, have the data update using asynchronous calls to the API? I've tried researching stuff on this, but if anybody has a useful advice or some link to a good article, I would love to get one! (I'm posting in Kotlin, as I am wondering if it is buildable using coroutines, which doesn't exist in Java 🙂 )