Using Visual Studio 2013, I am creating a new Windows Store application for Windows 8.1 based on MvvmCross.
I first create my PCL .Core class library with view models according to the instructions in the Core.txt to-do file.
Next, I create my .Store application, now following the instructions in the Windows Store UI.txt to-do file. I do want to use the navigation framework, so I am replacing the FirstView.xaml
page with a Basic Page FirstView.xaml
.
According to the instructions, the LayoutAwarePage
class should inherit MvxStorePage
but since the LayoutAwarePage.cs
is no longer included in VS2013/8.1 Store projects, I am instead changing my FirstView.xaml
page to be an MvxStorePage
type:
<views:MvxStorePage x:Name="pageRoot" x:Class="App.Store.Views.FirstView"
... >
...
</views:MvxStorePage>
With this change, FirstView is displayed when I start the app, but the view-model bindings do not work! What would be the correct procedure for setting up the MvvmCross view-view model bindings in a Windows Store 8.1 app?