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