/// <summary> /// Function to update all properties of this page with new information from the download service /// </summary> /// <param name="update"></param> public async void UpdateDownloadStatus(DownloadsStatusUpdate update) { StatusText.Text = update.StatusMessage; await DownloadProgress.ProgressTo((float)update.NumberOfArticlesDownloaded / (float)update.TotalNumArticlesToDownload, 100, Easing.Linear); // Load all the articles left to download in the articles left to download // TODO: Make this faster by instead returning the articles that was just downloaded and removing it from the list downloads.Clear(); foreach (string article in update.ArticlesLeftToDownload) { downloads.Add(article); } }