APPLYING MVI ARCHITECTURE TO ENHANCE TESTABILITY AND MAINTAINABILITY IN ANDROID APPLICATIONS
Chike Mgbemena , Mobile Software Engineer, Lagos, NigeriaAbstract
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
Copyright (c) 2024 Chike Mgbemena

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors retain the copyright of their manuscripts, and all Open Access articles are disseminated under the terms of the Creative Commons Attribution License 4.0 (CC-BY), which licenses unrestricted use, distribution, and reproduction in any medium, provided that the original work is appropriately cited. The use of general descriptive names, trade names, trademarks, and so forth in this publication, even if not specifically identified, does not imply that these names are not protected by the relevant laws and regulations.