Kotlin Flows and Channels for Android
This video is also available in the GOTO Play video app! Download it to enjoy offline access to our conference videos while on the move.
Asynchronous programming is tricky. As new tools to approach concurrency emerge, it’s easy to become overwhelmed. However, the engineers at JetBrains took a pragmatic approach by making asynchronous coding simple yet purposeful. Built in the coroutine library, Flows and Channels help you gracefully process streams of data. They let you focus on developing seamless features while forgetting about verbose syntax and unreliable concurrency.
In this talk, I’ll break down the similarities and differences between Flows and Channels. You will learn where to use them, the problems they solve, and how they help write reliable apps. I’ll present examples that show how to handle reactive streams in Kotlin and when to use Flows over Channels. After this talk, you’ll see why Kotlin Flows and Channels have redefined the way I develop on Android and how they can strengthen your app development too.