private void ReloadData() { mAlert = new UIAlertView("Downloading...", "", null, null, null); mAlert.Show(); // Show the user that data is about to be downloaded UIApplication.SharedApplication.NetworkActivityIndicatorVisible = true; using (var downloader = new GzipWebClient()) { downloader.DownloadStringCompleted += DownloadCompleted; downloader.DownloadStringAsync(RssFeedUrl); } }
private void ReloadData () { mAlert = new UIAlertView ("Downloading...", "", null, null, null); mAlert.Show (); // Show the user that data is about to be downloaded UIApplication.SharedApplication.NetworkActivityIndicatorVisible = true; using (var downloader = new GzipWebClient ()) { downloader.DownloadStringCompleted += DownloadCompleted; downloader.DownloadStringAsync (RssFeedUrl); } }