Android

Android MVI Architecture

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

17 면접 질문·
Mid-Level
1

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

답변

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?

답변

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?

답변

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 면접 질문

다음 면접을 위해 Android을 마스터하세요

모든 질문, flashcards, 기술 테스트, 코드 리뷰 연습, 면접 시뮬레이터에 접근하세요.

무료로 시작하기