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