private async void TestList_ItemSelected(object sender, SelectedItemChangedEventArgs e) { // CHECK https://stackoverflow.com/questions/45711428/download-file-with-webclient-or-httpclient string testFile = e.SelectedItem as string; Console.WriteLine(">>> SELECTED FILE: " + testFile); // string testFileURL = "http://testmate.rgprogramming.com/" + testFile; try { AppFunctions.devDownloadFileAsync(testFile); await this.DisplayAlert("Test Mate", AppResources.DownloadSuccessMessage, "OK"); OnAppearing(); // await Application.Current.MainPage.Navigation.PopAsync(); } catch (Exception ex) { await this.DisplayAlert("Test Mate", String.Format(AppResources.DownloadErrorMessage, ex.Message), "OK"); } }