public async Task Load(int id) { Fetched = true; var existing = await CardboardKnight.RetrieveGame(id); if (existing != null && !string.IsNullOrEmpty(existing.Description)) //assumption is if the description is added, the game has been completely downloaded via the games page. { Game = existing; } else { var g = await CardboardKnight.FetchGame(id); Game = await CardboardKnight.StoreGame((Game)g); } await SetupVideos(); }
public async Task ForceUpdate() { var g = await CardboardKnight.FetchGame(Game.Id); Game = await CardboardKnight.StoreGame(g); }