Fueled Reactive apps with Asynchronous Flow and StateFlow to sync with the UI
Raul Hernandez Lopez
Senior Software Engineer
Reactive Extensions are widely used on large scale successful Android applications, and for this, the most popular library is an adaptation of these Reactive Extensions, the very well known RxJava.
What if we could use the existing Kotlin suspending functions asynchronously to return more than a single value?
How could we return multiple asynchronously backed results in Kotlin?
Kotlin Flows to the rescue!
Would Kotlin Flows replace RxJava in the long term on the Android platform?
How could we start migrating smoothly to Flow on hybrid (Java & Kotlin) languages apps?
Can we fully avoid using callbacks now? StateFlow to the rescue!
I would like to introduce myself as a continuous learner apart from being an experienced Software Engineer, specialised on the Android platform & specifically the Kotlin language.
Moreover, I am a public speaker when I get the chance for it. I write some articles, typically not technical at the end of the year to summarise the past year and technical ones too.
I am from Valencia (Spain) originally, where we use to love paella and horchata, nowadays I am living, working (from home) in London (UK) but I’ve also lived/worked in Antwerp (Belgium).
I do love travelling when I can, listening music metal/rock gigs, reading tech/no-tech books, hanging out with friends, a very cold beer or running sometime.