What is MVVM
Get to know how data moves between the database and the user interface in MVVM-based applications.
We'll cover the following
What is an architecture?
Architecture is basically the structure of an application. When developing software, the most essential thing to learn before beginning is how we’re going to organize our code in a way that best suits our product, and that’s where architecture comes in.
MVVM
Model-View-ViewModel (MVVM) is an architecture that’s commonly used by Android developers and is recommended by Google. MVVM was introduced by Microsoft architects to simplify design patterns while developing software, primarily to separate the frontend and backend to reduce the dependency of views with other components. The MVVM design pattern was employed to solve dependency and separation of concerns problems, and to build maintainable code that’s easier to test and adapts to changes quickly.
MVVM architecture flow
The illustration below will act as a guide to help us understand the flow of events associated with MVVM architecture.
Get hands-on with 1200+ tech skills courses.