★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★Open research. Global perspectives.
Engineering and Technology OPEN ACCESS

APPLYING MVI ARCHITECTURE TO ENHANCE TESTABILITY AND MAINTAINABILITY IN ANDROID APPLICATIONS

Chike Mgbemena
Mobile Software Engineer, Lagos, Nigeria
tajet 2024
VOL. 6 / NO. 07 JULY
VOLUME 6
ISSUE 07
YEAR 2024
PAGES 50-56

Abstract

In the world of Android application development, building scalable and easily supported systems is a crucial task. The Model-View-Intent (MVI) architectural pattern has proven to be an effective approach to achieve these goals due to the strict separation of responsibilities between components, unidirectional data flow and an emphasis on immutability. This article discusses the basic principles of the MVI architecture, its advantages and disadvantages, as well as its impact on the testability and maintainability of applications. Using MVI allows you to improve the predictability of application behavior, simplify debugging and state management, and also contributes to modularity and ease of code maintenance. In conclusion, examples of successful application of MVI in practice are discussed, which confirms its usefulness for the development of complex and highly loaded applications.

Keywords

MVC architecture increased testability increased maintainability

Downloads

Download data is not yet available.

References

  1. The MVI architecture for Android. [Electronic resource] Access mode: https://medium.com/swlh/mvi-architecture-with-android-fcde123e3c4a (accessed 06/20/2024).
  2. MVI architecture for Android. [Electronic resource] Access mode: https://www.scaler.com/topics/android/mvi-architecture-android / (accessed 06/20/2024).
  3. MVI-graphic editors for Android applications: applications, programs and practical recommendations. [Electronic resource] Access mode: https://www.codetd.com/en/article/15285478 (accessed 06/20/2024).
  4. Reactive Applications with Model-View-Intent - Part 2: View and Intent. [Electronic resource] Access mode: http://hannesdorfmann.com/android/mosby3-mvi-2 (accessed 06/20/2024).
  5. Yelp has implemented the MVI graphics editor to improve the performance and testability of its Android application. [Electronic resource] Access mode: https://mobilemonitoringsolutions.com/yelp-adopted-the-mvi-architecture-to-improve-performance-and-testability-of-their-android-app / (accessed 06/20/2024).