MVVM in Android UI Libraries A Case Study of Rearchitecting Messaging SDKs
Archit Joshi Joshi, Raja Kumar Kolli, Shanmukha Eeti, Prof.(Dr) Punit Goel, Prof.(Dr.) Arpit Jain, Dr. Alok Gupta, Raja Kumar Kolli , Shanmukha Eeti , Prof.(Dr) Punit Goel , Prof.(Dr.) Arpit Jain , Dr. Alo
Paper Contents
Abstract
The Model-View-ViewModel (MVVM) architectural pattern has gained prominence in Android application development, particularly for its ability to enhance code maintainability and facilitate a clear separation of concerns. This study explores the re-architecting of messaging Software Development Kits (SDKs) using MVVM principles to improve user interface (UI) design and user experience (UX). We analyze existing messaging SDKs, identifying common challenges such as complex data binding, tight coupling, and difficulty in managing UI state across various devices and screen sizes. By adopting the MVVM architecture, we demonstrate how to decouple the UI components from the underlying data model, enabling more efficient data handling and real-time updates. Our case study presents a practical implementation of an MVVM-based messaging SDK, highlighting its benefits, including enhanced testability, increased code reusability, and improved responsiveness to user interactions. Through empirical evaluation, we assess the performance and scalability of the re-architected SDK in real-world applications. The findings suggest that transitioning to an MVVM framework not only simplifies development but also fosters a more intuitive user experience. This research contributes to the broader discourse on architectural best practices in Android development and serves as a guide for developers looking to adopt MVVM in their messaging solutions, ultimately aiming to enhance application quality and user satisfaction.
Copyright
Copyright © 2023 Archit Joshi, Raja Kumar Kolli, Shanmukha Eeti, Prof.(Dr) Punit Goel, Prof.(Dr.) Arpit Jain, Dr. Alok Gupta. This is an open access article distributed under the Creative Commons Attribution License.