-
Notifications
You must be signed in to change notification settings - Fork 0
/
MVVMEasy.cs
33 lines (28 loc) · 857 Bytes
/
MVVMEasy.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using Xamarin.Forms;
using MVVMEasy.Pages;
namespace MVVMEasy
{
public class App : Application
{
public App ()
{
// The root page of your application
MainPage = new LoginView(){BindingContext = new LoginPageViewModel_Prism()};
MainPage = new LoginView(){BindingContext = new LoginPageViewModel_FodyPropertyChanged_And_MVVMCommand()};
MainPage = new LoginView(){BindingContext = new LoginPageViewModel_FodyPropertyChanged()};
}
protected override void OnStart ()
{
// Handle when your app starts
}
protected override void OnSleep ()
{
// Handle when your app sleeps
}
protected override void OnResume ()
{
// Handle when your app resumes
}
}
}