What is Repository pattern in MVVM Android?

What is Repository in Android’s MVVM architecture? Repository is a class which purpose is to provide a clean API for accessing data . What that means is that the Repository can gather data from different data sources(different REST APIs, cache, local database storage) and it provides this data to the rest of the app.

Read more

What is MVVM architecture in C#?

MVVM is an architectural pattern that is represented by three distinct components, the Model, View and ViewModel . In order to understand these three layers, it is necessary to briefly define each, followed by an explanation of how they work together. Model is the layer that drives the business logic.

Read more