public async void Reload() { Loading = true; Details = await MalClubDetailsQuery.GetClubDetails(LastArgs.Id); Loading = false; }
public async Task ReloadComments() { LoadingComments = true; var details = await MalClubDetailsQuery.GetClubDetails(LastArgs.Id, true); Details.RecentComments = details.RecentComments; Comments = new ObservableCollection <MalClubComment>(Details.RecentComments); Comments.CollectionChanged += CommentsOnCollectionChanged; LoadingComments = false; }
public async void NavigatedTo(ClubDetailsPageNavArgs args) { if (args.Equals(LastArgs)) { return; } Details = null; LastArgs = args; Loading = true; Details = await MalClubDetailsQuery.GetClubDetails(args.Id); Loading = false; }