Skip to content

Instantly share code, notes, and snippets.

@almirvuk
Created February 24, 2017 15:05
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 almirvuk/b7722aa296c5bff594741fb19231cee4 to your computer and use it in GitHub Desktop.
Save almirvuk/b7722aa296c5bff594741fb19231cee4 to your computer and use it in GitHub Desktop.
using CarsExample.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace CarsExample.Views {
public partial class CarsPage : ContentPage {
public CarsPage() {
InitializeComponent();
// Connecting context of this page to the our View Model class
BindingContext = new CarsViewModel();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment