Dispatches / a short note
Kotlin flow and retrofit
Read them to understand flow (coroutine) better
Flow (streaming data), collect, and operate in the same or different thread / coroutine. Then present those data using LiveData (which is UI lifecycle aware): https://amitshekhar.me/blog/retrofit-with-kotlin-flow