public async void Load()
        {
            IsBusy = true;
            var result = await App.AzureClient.GetAnimes();

            Animes.Clear();

            foreach (var item in result)
            {
                Animes.Add(item);
            }
            IsBusy = false;
        }
示例#2
0
 private void CreateNewAnime()
 {
     EditedAnime      = new AnimeViewModel(new AnimeNamespace.Anime());
     EditedAnime.Name = "";
     Animes.Add(EditedAnime);
 }