Android

Android MVI Architecture

MVI Architecture and alternative patterns for Android (MVC, MVP, MVVM, Redux)

17 perguntas de entrevistaยท
Mid-Level
1

What is the MVI (Model-View-Intent) pattern?

Resposta

MVI is an architectural pattern that manages application state in a unidirectional way. Intents represent user actions, Model is the immutable application state, and View observes and displays this state.

2

What are the 3 main components of the MVI pattern?

Resposta

MVI consists of: Model (immutable state), View (user interface observing the state), and Intent (represents user actions/intentions).

3

What is an Intent in the MVI pattern?

Resposta

In MVI, an Intent represents a user intention or action (e.g., button click, text input). It is sent to the ViewModel/Processor which produces a new state. Not to be confused with Android Intent for navigation.

4

What is the Model in the MVI pattern?

5

What is the main advantage of MVI pattern over MVVM?

+14 perguntas de entrevista

Domine Android para sua proxima entrevista

Acesse todas as perguntas, flashcards, testes tecnicos, exercicios de code review e simuladores de entrevista.

Comece gratis