Android MVI Architecture
MVI Architecture and alternative patterns for Android (MVC, MVP, MVVM, Redux)
17 面接問題·
Mid-Level
1What is the MVI (Model-View-Intent) pattern?
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.
2What are the 3 main components of the MVI pattern?
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).
3What is an Intent in the MVI pattern?
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面接トピック
Android Fundamentals
Junior
24問Android UI and Resources
Junior
30問Android Lifecycle
Junior
30問Android Navigation
Junior
26問Android Data Management
Junior
29問Android Networking
Junior
29問Android Testing
Junior
28問Android Gradle
Junior
26問Kotlin Language Essentials for Android
Junior
24問Room Database
Mid-Level
25問Background Work
Mid-Level
18問Jetpack Compose
Mid-Level
28問Permissions and Device Features
Mid-Level
21問Firebase for Android
Mid-Level
23問Android MVVM Architecture
Mid-Level
18問Advanced Android Networking
Mid-Level
13問Kotlin Collections and Operators
Mid-Level
20問Kotlin Coroutines and Flow
Mid-Level
20問Android Dependency Injection
Mid-Level
15問Android Clean Architecture
Senior
21問Android Compose Advanced
Senior
17問Android Performance and Monitoring
Senior
13問Android Security and Privacy
Senior
18問Android CI/CD and Release
Senior
15問Android UX and Form Factors
Senior
18問Android Testing Advanced
Senior
18問