I looking for peoples opinion on firing user dialogs from the View Model.
Over the last several months I've had to learn Xamarin, XAML and MVVM to start a new project and I have to say its been fun I'm part way through the project and I'm starting to doubt the use of user dialogs which are fired from the VM.
Now correct me if I'm wrong; but the VM should know nothing of the View and should be able to function without a UI attached, so it basically fully testable !?!
So if that's the case surely the logic for dialogs should be placed in the code behind along with other functions specifically for the UI.
At the moment I'm using MVVMCross and Dependency Injection to allow the use of dialogs in the VM and it works fine, I'm just getting the feeling its not right.