private async void GetPageData(string name, string url) { ShowAuthorBioLoadingIndicator(); PopulateHeader(name); AuthorInfos infos = await DAuthorController.LoadData(url); BindAuthorDataContext(infos); HideAuthorBioLoadingIndicator(); }
private async void PopulateDetailView(string url, string imageLink) { if (imageLink.Length < 1) { imageLink = "ms-appx:///Assets/Icons/gray.png"; } ShowAuthorBioLoadingIndicator(); AuthorInfos infos = await DAuthorController.LoadData(url); HideAuthorBioLoadingIndicator(); if (infos != null) { PopulateBio(infos, imageLink); ShowBio(); } else { ShowNoBioView(); } }