MVVMCross How does this View get linked to the ViewModel?

mvvmcross, xamarin

Solution

They are bound by class names: for XXXView should be corresponded XXXViewModel

Problem

I'm trying to figure out why I get an error message about not being able to find the right ViewModel when I'm running my iOS app. The question I have is when I look at this example I don't understand where MainMenuView gets bound to MainMenuViewModel. Can someone answer this for me? Thanks, PkL728

Original source

Related problems