Implementation of Model-View-ViewModel and Clean Architecture in Android Mobile App Development
##plugins.themes.bootstrap3.article.main##
Abstract
Android applications are capable of assisting users in managing activities effectively, including the management of school tasks. However, in the development process, several issues often arise, such as code complexity, low maintainability, and difficulties in further development. These problems are generally caused by the lack of a clear separation between business logic and the user interface. Therefore, the implementation of an appropriate software architecture is necessary. One widely used approach is Model-View-ViewModel (MVVM). The MVVM concept is able to separate the user interface from the business logic. In addition to MVVM, Clean Architecture is another approach that provides a solution for building well-structured systems. Clean Architecture divides an application into several layers, such as presentation, domain, and data. Previous studies have implemented either the MVVM or Clean Architecture independently. In addition, these architectures have been applied using different development frameworks and programming languages. Although several studies have successfully implemented both MVVM and Clean Architecture in mobile application development, their implementation has generally not been extended to unit and instrumentation testing. In this study, a mobile application was developed by implementing the MVVM concept and Clean Architecture using the Kotlin programming language and Room as the local data storage solution. The development of an application using Extreme Programming (XP) Software Development Method. The developed application was tested using unit testing and instrumentation testing with the JUnit, Mockito, Espresso, and Room Testing frameworks. The testing process was conducted across three application layers, namely the presentation, domain, and data layers, with a total of nine test files evaluated modularly. The test results showed that all executed scenarios were successfully passed. The test results demonstrate that the implementation of MVVM and Clean Architecture improves application modularity, allowing each layer to be tested independently. It shows that by implementing MVVM and Clean Architecture, the program code becomes more organized, structured, easier to understand, and easier to be tested. In addition, due to the low coupling between components, the code is more maintainable and easier to extend in the future.
##plugins.themes.bootstrap3.article.details##

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish articles in CoreID Journal agree to the following terms:
- Authors retain copyright of the article and grant the journal right of first publication with the work simultaneously licensed under a CC-BY-SA or The Creative Commons Attribution–ShareAlike License.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
References
F. Maulana, R. Afyenni, and A. Erianda, “Aplikasi Manajemen Laboratorium Menggunakan Metode MVVM Berbasis Android,” Jurnal Ilmiah Teknologi Sistem Informasi, vol. 3, no. 3, pp. 88–93, Sep. 2022.
D. Indrawan, D. S. Kusumo, and S. Y. Puspitasari, “JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika) Journal homepage: https://jurnal.stkippgritulungagung.ac.id/index.php/jipi ISSN: 2540-8984 Vol. 8, No. 1, Maret 2023, Pp. 059-065 59 Analysis Of The Implementation Of Mvvm Architecture Pattern On Performance Of Ios Mobile-Based Applications ANALYSIS OF THE IMPLEMENTATION OF MVVM ARCHITECTURE PATTERN ON PERFORMANCE OF IOS MOBILE- BASED APPLICATIONS,” JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika), vol. 8, no. 1, pp. 59–65, Mar. 2023.
F. Pradana, R. I. Langundi, D. Pramono, and N. I. Iriani, “Analisis Perbandingan Kinerja Pola MVVM dan MVP pada Sistem Dasbor Android,” Jurnal Nasional Teknik Elektro dan Teknologi Informasi, vol. 14, no. 2, May 2025.
H. A. Epiloksa, D. S. Kusumo, and M. Adrian, “Effect Of MVVM Architecture Pattern on Android Based Application Performance,” JURNAL MEDIA INFORMATIKA BUDIDARMA, vol. 6, no. 4, pp. 1949–1955, Oct. 2022.
I. M. Riyadhi, I. Purnamasari, and K. Prihandani, “PENERAPAN POLA ARSITEKTUR MVVM PADA PERANCANGAN APLIKASI PENGADUAN MASYARAKAT BERBASIS ANDROID,” INFOTECH journal, vol. 9, no. 1, pp. 146–158, May 2023.
F. F. Anhar, M. H. P. Swari, and F. P. Aditiawan, “Analisis Perbandingan Implementasi Clean Architecture Menggunakan MVP, MVI, Dan MVVM Pada Pengembangan Aplikasi Android Native,” Jupiter: Publikasi Ilmu Keteknikan Industri, Teknik Elektro dan Informatika, vol. 2, no. 2, pp. 181–191, Mar. 2024.
A. Wilson, F. Wedyany, and S. Omariz, “An Empirical Evaluation and Comparison of the Impact of MVVM and MVC GUI Driven Application Architectures on Maintainability and Testability,” in 2022 International Conference on Intelligent Data Science Technologies and Applications (IDSTA), 2022, pp. 1–8.
E. N. G. Bello and M. A. L. Páez, “Analysis of Design Patterns Available for the Implementation of Applications in Xamarin,” International Journal of Information Technology and Web Engineering, vol. 20, no. 1, Mar. 2025.
M. Z. Azziqra and I. Nuryasin, “IMPLEMENTASI CLEAN ARCHITECTURE PADA APLIKASI MOBILE AL-QURAN BERBASIS FLUTTER,” JOISIE (Journal Of Information Systems And Informatics Engineering), vol. 8, no. 2, pp. 369–380, Dec. 2024.
A. R. Fajri and S. Rani, “Penerapan Design Pattern MVVM dan Clean Architecture pada Pengembangan Aplikasi Android (Studi Kasus: Aplikasi Agree Partner),” in Automata, 2022.
A. Tyagi, “Better Android Apps Using MVVM With Clean Architecture,” Toptal.
N. S. P. K. Yadati, “Architecture Design (MVVM + Clean Architecture),” Journal of Artificial Intelligence, Machine Learning and Data Science, vol. 1, no. 3, pp. 703–706, Sep. 2023.
A. Z. Ulhaq, A. Z. Adilukito, S. M. P. G. Neru, and M. D. Agisfio, “Aplikasi Pencatatan Kalori Harian Berbasis Android Dengan Arsitektur MVVM,” Computer Science (CO-SCIENCE), vol. 5, no. 1, pp. 26–34, Jan. 2025.
A. Putri, J. S. Asri, N. Anwar, and A. Widiantono, “Penerapan Clean Arsitektur Menggunakan Mobile Platform Berbasis Flutter Untuk Aplikasi Layanan Kapal,” IKRAITH-INFORMATIKA, vol. 9, no. 1, pp. 92–101, Mar. 2025.
V. Stray, K.-J. Stol, M. Paasivaara, and P. Kruchten, “Agile Processes in Software Engineering and Extreme Programming,” in 23rd International Conference on Agile Software Development, XP 2022, Copenhagen, Denmark: Springer, 2022.
D. F. Setiawan and Y. Rahardja, “Perancangan Sistem Informasi Pengarsipan menggunakan Metode Agile Scrum,” Sistemasi: Jurnal Sistem Informasi, vol. 14, no. 6, pp. 2602–2614, Aug. 2025.
F. Azhary, “Penerapan Metode Extreme Programming dalam Pengembangan Sistem Pemantauan Konstruksi Kapal Berbasis Web,” Merkurius : Jurnal Riset Sistem Informasi dan Teknik Informatika, vol. 3, no. 1, pp. 1–13, Dec. 2025.
S. W. Ramdany, S. A. Kaidar, B. Aguchino, C. A. A. Putri, and R. Anggie, “Penerapan UML Class Diagram dalam Perancangan Sistem Informasi Perpustakaan Berbasis Web,” Journal of Industrial and Engineering System (JIES), vol. 5, no. 1, pp. 1–12, Jun. 2024.
Android Developers, “Pendekatan Android yang mengutamakan Kotlin.” Accessed: Apr. 22, 2026. [Online]. Available: https://developer.android.com/kotlin/first?hl=id
P. Suardana, N. W. Marti, and K. A. Seputra, “IMPLEMENTASI ARSITEKTUR MODEL-VIEW-VIEWMODEL (MVVM) DALAM PENGEMBANGAN SISTEM DIL-MICLEARN BERBASIS MOBILE,” JITET (Jurnal Informatika dan Teknik Elektro Terapan), vol. 14, no. 2, pp. 28–37, 2026.
M. B. Sinatria, O. Komarudin, and K. Prihandani, “PENERAPAN CLEAN ARCHITECTURE DALAM MEMBANGUN APLIKASI BERBASIS MOBILE DENGAN FRAMEWORK GOOGLE FLUTTER,” INFOTECH journal, vol. 9, no. 1, pp. 132–146, May 2023.
R. S. Pressman, Software Engineering A Practitioner’s Approach 7th. New York: McGraw-Hil, 2010.
A. C. Praniffa, A. Syahri, F. Sandes, U. Fariha, and Q. A. Giansyah, “PENGUJIAN BLACK BOX DAN WHITE BOX SISTEM INFORMASI PARKIR BERBASIS WEB,” Jurnal Testing dan Implementasi Sistem Informasi, vol. 1, no. 1, pp. 1–16, 2023.