Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

How is the interaction between the viewmodel and model implemented?

$
0
0

Hey guys,
I want to build my first app according to the mvvm design pattern. I'm trying to do the classes SW design first, before I start coding.
I'm a bit confused about one issue -
What is the best and correct way of interaction between the viewmodel and model? Besides the INotifyPropertyChanged interface.
I would like to call a method from the viewmodel that will start a background service and a broadcast receiver (both located in the model), but i'm not sure this is the right way to do that.
Is that correct for the mvvm paradigm?
If not, what is the best way to implement this idea?

Thank you!! :smile:


Viewing all articles
Browse latest Browse all 89864