Articles | Open Access | DOI: https://doi.org/10.37547/tajet/Volume06Issue07-06

APPLYING MVI ARCHITECTURE TO ENHANCE TESTABILITY AND MAINTAINABILITY IN ANDROID APPLICATIONS

Chike Mgbemena , Mobile Software Engineer, Lagos, Nigeria

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

References

The MVI architecture for Android. [Electronic resource] Access mode: https://medium.com/swlh/mvi-architecture-with-android-fcde123e3c4a (accessed 06/20/2024).

MVI architecture for Android. [Electronic resource] Access mode: https://www.scaler.com/topics/android/mvi-architecture-android / (accessed 06/20/2024).

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).

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).

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).

Article Statistics

Copyright License

Download Citations

How to Cite

Chike Mgbemena. (2024). APPLYING MVI ARCHITECTURE TO ENHANCE TESTABILITY AND MAINTAINABILITY IN ANDROID APPLICATIONS. The American Journal of Engineering and Technology, 6(07), 50–56. https://doi.org/10.37547/tajet/Volume06Issue07-06