Adding the View for the UWP project
<TextBlock Text="{Binding Greeting}"></TextBlock>
<Button Content="Post List" Command="{Binding NavToPostListAsyncCommand}"></Button>namespace MvvmCrossDemo.Uwp.Views
{
[MvxViewFor(typeof(PostListViewModel))]
public sealed partial class PostListView : MvxWindowsPage
{
public PostListView()
{
this.InitializeComponent();
}
}
}<views:MvxWindowsPage
x:Class="MvvmCrossDemo.Uwp.Views.PostListView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
xmlns:views="using:MvvmCross.Platforms.Uap.Views" >
<Grid>
</Grid>
</local:BaseView>
Last updated