Hi there, everyone!
I'm currently developing a sale's force application using Xamarin Forms and Prism. Now, I have the following situation:
Each tab contains a few order's informations. Thinking about the MVVM architecture, I'm wondering which will be the best way to handle the save command. So, this is what I'm thinking:
a) Each tabbed page has its own VM. The storage procedure should be done using EventAggregator(?)
or b) According with "UsingCompositeCommands" from "Prism-Samples", use a single VM for the three tabbed pages, then a composite SaveOrder command.
Which will be the better approach? Or there is another (and better) way?