/// <summary> /// Initialize View Model and components /// </summary> /// <returns></returns> private async Task UIInitializer() { string exMessage = ""; try { Articles = await RSSHelper.GetArticleListFromFeedAsync(this.FeedUrlString); } catch (Exception e) { exMessage = e.Message; } if (!string.IsNullOrWhiteSpace(exMessage)) { ShowList = false; IsLoading = false; await MessageHelper.ShowMessageAsync(exMessage, "Houston, tenemos un problema!"); App.Current.Exit(); } else { ShowList = true; } FirstOrDefaultArticle = Articles.FirstOrDefault(); IsLoading = false; }