LiveData with Coroutines and Flow (Android Dev Summit '19)

Share this post with friends!

LiveData with Coroutines and Flow (Android Dev Summit '19)

video, delen, cameratelefoon, videotelefoon, vrij, uploaden

LiveData is a simple lifecycle-aware observable, designed for making UIs that react to changes safely and efficiently. It can be used beyond View↔️ViewModel communications and even components like Room support it. However, there’s a risk of overuse, especially when dealing with multiple threads. The solution? Instead of expanding its features, LiveData now works seamlessly with Kotlin’s coroutines. In this talk, we cover the new “”liveData”” coroutine builder, showing when and how to use it and testing patterns and antipatterns to make clean, efficient, and solid reactive UIs.

Presented by: Jose Alcérreca, Yigit Boyar

Kotlin Sessions → https://goo.gle/AndroidKotlin
Android Dev Summit ’19 all sessions playlist → https://goo.gle/ADS19allsessions

Subscribe to the Android Developers channel! → https://goo.gle/AndroidDevs

Check out the photo album → http://goo.gle/ADS19Photos

#AndroidDevSummit

source

0 thoughts