I'm trying to learn MVVM, and i'm struggling a little on differentiating between a model and viewmodel.
If someone could answer these 2 questions it would help clear a lot up for me:
Say I have an Objects
class, which is a viewmodel that contains multiple ObservableCollections of Object
.
The Object
class contains an ObservableCollection of strings that are displayed on the GUI.
Is the Object
class a model or viewmodel?
What if the Object
class contains just a string and a integer (name and value), is it a model or viewmodel?