예제 #1
0
 async void AddButtonClickedAsync(object sender, EventArgs e)
 {
     var editPage = new AlbumEditPage(new AlbumViewModel(null));
     await Navigation.PushAsync(editPage);
 }
예제 #2
0
 async void EditButtonClickedAsync(object sender, EventArgs e)
 {
     var editPage = new AlbumEditPage(BindingContext as AlbumViewModel);
     await Navigation.PushAsync(editPage);
 }