I have read tons about following the MVVM pattern in
Xamarin.Forms. To follow pure MVVM, there seem to be two main problems: (1) how to perform navigation without depending on
Navigation (and the dependency on
Xamarin.Forms in the View-Model classes); and (2) how to use commands without using the
Command type (and again depending on
I have read lots of solutions for the first problem, but I don't seem to be able to find anything on solving the second problem. It seems to me that I need to implement my own concrete type implementing the
ICommand interface, but I can't find any good information on how to do this.
Can anyone point me at some good information on how to do this, or tell me if I am barking up completely the wrong tree?
Kind wishes ~ Patrick
PS - Congratulations to everyone on this forum! It is one of the friendliest, most helpful forums I have ever used in thirty years of programming.