Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 public async Task <NasaCollection <NasaMediaEntry> > ExecuteAsync()
 {
     return(await _client.RequestMediaAsync(BuildRequestUri()));
 }