Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Last active November 21, 2019 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icebeam7/a9b3fc7e0995591bd0ffee4a9e6dc8ac to your computer and use it in GitHub Desktop.
Save icebeam7/a9b3fc7e0995591bd0ffee4a9e6dc8ac to your computer and use it in GitHub Desktop.
MVVMDemo: ListProductView.xaml.cs
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace MVVMDemo.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ListProductView : ContentPage
{
public ListProductView()
{
InitializeComponent();
BindingContext = new ViewModels.ListProductViewModel(Navigation);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment