Philly ETE 2020 – Etienne Caron – Coroutine + Flow = MVI

by
Tags: , , , , , , ,
Category:

Check out our YouTube playlist to watch all the talks from Emerging Technologies for the Enterprise 2020.

Abstract

Managing state in Android applications can be painful. Over the years, various architectural patterns have evolved to try and tame it: MVC, MVP, and MVVM.

MVI (Model-View-Intent) is an evolution of these patterns. Thanks to Immutable State management and Unidirectional Data Flow, we can finally say goodbye to race conditions and rogue mutations. Combine the power of MVI with Kotlin Coroutines alongside the recently released Kotlin Flows library. The result? Real magic. No RxJava incantations required!

In this session, you’ll learn how to build a Model-View-Intent (MVI) Android App, using both Kotlin Coroutines and Kotlin Flows. You’ll walk away understanding the core principles of this pattern, as well as its key benefits. Get ready to fall for MVI❤!

About Etienne Caron

Etienne Caron is a staff developer at Shopify, a Canadian e-commerce company. He is also part of Google’s Developer Expert program, and an instructor for Caster.io.

Etienne has been an active member of the Android developer community in Montreal since 2010, and regularly devotes his time to mentoring startups, developers and students in the mobile space.