示例#1
0
 public ProfileView()
 {
     InitializeComponent();
     BindingContext = new ProfileViewModel(this.Navigation);
     if (!App.IsUserLoggedIn)
     {
         Navigation.PushModalAsync(new LoginPage(), true);
     }
 }
 public ProfileView()
 {
     InitializeComponent();
     BindingContext = new ProfileViewModel(this.Navigation);
 }