Révision 7b67ff55 INRAETemplate/View/VivantView.xaml.cs

Voir les différences:

INRAETemplate/View/VivantView.xaml.cs
4 4
[XamlCompilation(XamlCompilationOptions.Skip)]
5 5
public partial class VivantView : ContentPage
6 6
{
7
	public VivantView()
8
	{
9
		InitializeComponent();
10
		this.BindingContext = new VivantViewModel();
11
	}
7
    public VivantView(VivantViewModel vm)
8
    {
9
        InitializeComponent();
10
        this.BindingContext = vm;
11
    }
12 12
}

Formats disponibles : Unified diff