public async Task RefreshAsync() { IsRefreshing = true; // Request media using the href from the current collection (a.k.a. the same collection) and then finally initialize it var collection = await _client.RequestMediaAsync(_collection.Href.ToString()); await Initialize(collection); IsRefreshing = false; }
public async Task <NasaCollection <NasaMediaEntry> > ExecuteAsync() { return(await _client.RequestMediaAsync(BuildRequestUri())); }