/// <summary> /// Show the modal loading dialog once the view is loaded. /// </summary> /// <param name="animated"></param> public override void ViewDidAppear(bool animated) { base.ViewDidAppear(animated); _busyView = new BusyView(); _busyView.Show("Exporting..."); Thread thread = new Thread(ThreadEntry); thread.Start(); }
/// <summary> /// Show the modal loading dialog once the view is loaded. /// </summary> /// <param name="animated"></param> public override void ViewDidAppear(bool animated) { base.ViewDidAppear(animated); _busyView = new BusyView(); _busyView.Show("Exporting..."); Thread thread = new Thread(ThreadEntry); thread.Start(); }
private void ImportClick(object sender, EventArgs e) { if (string.IsNullOrEmpty(_textFieldImport.Text)) { // AlertView here UIAlertView alertView = new UIAlertView(); alertView.Title = "Please enter some questions to import"; alertView.Show(); return; } _busyView = null; // Show a loading view if we there's a lot of text if (_textFieldImport.Text.Length > 500) { _busyView = new BusyView(); _busyView.Show("Importing..."); } Thread thread = new Thread(Import); thread.Start(); }
private void ImportClick(object sender, EventArgs e) { if (string.IsNullOrEmpty(_textFieldImport.Text)) { // AlertView here UIAlertView alertView = new UIAlertView(); alertView.Title = "Please enter some questions to import"; alertView.Show(); return; } _busyView = null; // Show a loading view if we there's a lot of text if (_textFieldImport.Text.Length > 500) { _busyView = new BusyView(); _busyView.Show("Importing..."); } Thread thread = new Thread(Import); thread.Start(); }