DevDays Europe 2021

Raul Hernandez Lopez

Position: Android Senior Software Engineer

Company: Twitter

Country: UK

Biography

Raul would like to introduce himself as a continuous learner apart from being an experienced Software Engineer (currently at Twitter), specialized on the Android platform & the Kotlin language.

Moreover, he’s a public speaker when gets the chance for it, so far he’s participated like an international speaker in different events over the years. In addition to that, he writes some articles, typically not technical at the end of the year to summarize the past year and technical ones too.

He’s originally from Valencia (Spain), where they use to love paella and horchata, nowadays he’s living, working (from home) in London (UK) but he’d also lived/worked in Antwerp (Belgium) for almost 1 year and a half.

He loves travelling when he can, listening music metal/rock gigs, reading tech/no-tech books, hanging out with friends, a very cold beer or running sometimes.

Talk

Getting ready for Declarative UIs with Unidirectional Data Flow using Kotlin Coroutines

Unidirectional Data Flow (UDF) is a powerful technique that enhances our Reactive apps to work deterministically. Synchronising our views with fresh data was never an easy task to accomplish. For this same reason, there are mechanisms that support us to make that possible. Surely callbacks were a thing in the past, however, they were an antipattern themselves due to the lack of readability. Now we don’t need to deal with them any more thanks to Kotlin Coroutines. Getting ready for Declarative UIs with Kotlin Coroutines and friends is indeed feasible, now we could use suspend functions, Flow and in the end StateFlow would make our Reactive apps ready for Declarative UIs. Let’s define a single entry point, receive data, transform it into a state, and render each state. Let’s get our apps ready for a Declarative UI world on Android.

You’ll learn how to use Kotlin Coroutines and friends from the Kotlin Coroutines library to take advantage of really efficient and easy to read code. How to handle its lifecycle without being compromised to a specific external Android framework, which would enable your code to be prepared for more purposes than Android only apps. 

Session Keywords

🔑 Declarative UIs
🔑 Unidirectional Data Flow
🔑 Kotlin Coroutines
🔑 Kotlin Coroutines

« Back