MVVM (Model-View-View-ViewModel) is a design pattern that allows you to divide the architecture into three functional parts:
- The model describes the data used and contains the basic logic of the program.
- The view defines the visual interface through which the user interacts with the application.
- The view model serves as a layer between the model and the view through a data binding mechanism. Thus, if the values of properties in the model are changed, when the model implements the interface, the data displayed in the view automatically changes, although the model and the view are not directly linked.
MVVM model