예제 #1
0
 private async void AddProfile(object sender, EventArgs e)
 {
     Profile     profile     = new Profile();
     ProfilePage profilePage = new ProfilePage()
     {
         BindingContext = profile
     };
     await Navigation.PushAsync(profilePage);
 }
예제 #2
0
 private async void ProfilesList_OnItemSelected(object sender, SelectedItemChangedEventArgs e)
 {
     Profile     selectedProfile = (Profile)e.SelectedItem;
     ProfilePage profilePage     = new ProfilePage()
     {
         BindingContext = selectedProfile
     };
     await Navigation.PushAsync(profilePage);
 }