public override void ViewDidAppear(bool animated) { base.ViewDidAppear (animated); _client = new RemoteDataRepository (_baseUrl); var loading = new UIAlertView ("Downloading Session", "Please wait...", null, null, null); loading.Show (); var indicator = new UIActivityIndicatorView (UIActivityIndicatorViewStyle.WhiteLarge); indicator.Center = new System.Drawing.PointF (loading.Bounds.Width / 2, loading.Bounds.Size.Height - 40); indicator.StartAnimating (); loading.AddSubview (indicator); _client.GetSession ("CodeMash-2012", this.SessionSlug, session => { InvokeOnMainThread (() => { //new UIAlertView ("Session", session.title, null, "Ok", null).Show (); this.sessionTitleLabel.Text = session.title; this.sessionEndLabel.Text = session.end.ToString (); this.sessionStartLabel.Text = session.start.ToString(); this.sessionTwitterHashTagLabel.Text = session.twitterHashTag; loading.DismissWithClickedButtonIndex (0, true); } ); } ); // Perform any additional setup after loading the view, typically from a nib. //this.TableView.Source = new DataSource (this); // if (!UserInterfaceIdiomIsPhone) { // this.TableView.SelectRow ( // NSIndexPath.FromRowSection (0, 0), // false, // UITableViewScrollPosition.Middle // ); // } }