This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Asynchronous Data Loading With New Kotlin Flow | |
Yet another amazing operator, Flow, from coroutines in Kotlin | |
Siva Ganesh Kantamani | |
Siva Ganesh Kantamani | |
Jan 3 · 6 min read | |
Coroutines | |
When we call an asynchronous function like a service call, retrieving data from the database, reading files or anything, we need a callback so that we know that the operation is finished and we can resume the actual work like in mobiles updating the UI after receiving data from your servers. | |
Yup, that’s fine, but when in real-time, it won’t be that easy. |