示例#1
0
 private async void NewAlbum()
 {
     currentAlbum = new Album();
     var vm = new AlbumViewModel(currentAlbum);
     await DependencyService.Get <INavigationService>().PushModalAsync(App.AppPages.EditAlbumPage, vm);
 }
示例#2
0
 public AlbumViewModel(Album album)
 {
     this.album = album;
     Songs      = new ObservableCollection <Song>(album.Songs);
 }