Chapter 9: Implementing an MVI Architecture
In this chapter, we will introduce the concept of Model-View-Intent (MVI) and the benefits it provides for managing the state of an application. We will begin by analyzing what MVI is and then move on to implementing it using Kotlin flows. In this chapter's exercise, we will build upon the previous chapter's exercises, and we will re-implement them using the MVI pattern to highlight how this pattern can be integrated into the presentation layer of an application with multiple modules.
In this chapter, we will cover the following topics:
- Introducing MVI
- Implementing MVI with Kotlin flows
By the end of the chapter, you will be able to implement the MVI architecture pattern inside a multimodule Android application, using Kotlin flows.