I'm stuck with a problem and I'm not able to find a "satisfactory" solution...so let's put an easy scenario as example:
There are two different views (view1 and view2) with two different viewModels (viewModel1 and viewModel2). Both viewModels get the information of the same model. Let's say view1 or viewModel1 change a value of the model and this value is needed for view2
as well. How can I notify the view2 of the changes?
I get two approaches to solve this problem:
1) Using eventAggregator (Used in the StockTrader_UI but in a slightly different scenario)
2) Implementing INotifyProperty on the model to notify the viewModels of the changes and finally notify the view.
I don't really like this two approaches...I'm getting something wrong? it shouldn't be that hard to accomplish something like that, didn't it?
Any suggestions will be greetly appreciated.