protected async override void OnAppearing() { base.OnAppearing(); // URLContent.Text = await AppFunctions.devGetPage(); List <string> testfiles = new List <string>(); try { testfiles = await AppFunctions.devGetFiles(); if (testfiles != null) { TestList.ItemsSource = testfiles; } else { await this.DisplayAlert("Test Mate", "No files found!", "OK"); } } catch (Exception ex) { await this.DisplayAlert("Test Mate", "Something went wrong, but we've logged it in: " + ex.ToString(), "OK"); } }