Android

Android MVI Architecture

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

17 preguntas de entrevista·
Mid-Level
1

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

Respuesta

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?

Respuesta

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?

Respuesta

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 preguntas de entrevista

Domina Android para tu próxima entrevista

Accede a todas las preguntas, flashcards, tests técnicos, ejercicios de code review y simuladores de entrevista.

Empieza gratis