private async void ResumeComicAsync() { if (Comic == null) { var comicUri = ComicSettings.ExplosmSettings.LastViewedUri; if (comicUri == null) { Comic = await ComicProvider.LoadLatestComicAsync(); } else { Comic = await ComicProvider.LoadComicAsync(comicUri); } } }
private async void ResumeComic() { if (Comic == null) { var comicUri = ComicSettings.XkcdSettings.LastViewedUri; XkcdComic xkcd = null; if (comicUri == null) { xkcd = (XkcdComic)await ComicProvider.LoadLatestComicAsync(); } else { xkcd = (XkcdComic)await ComicProvider.LoadComicAsync(comicUri); } Comic = xkcd; Description = xkcd.Description; } }
private async void LoadLatestComicAsync() { Comic = await ComicProvider.LoadLatestComicAsync(); }