public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { EmailItem item = emailServer.Email[indexPath.Row]; UIAlertController popup = UIAlertController.Create(item.Subject, item.ToString(), UIAlertControllerStyle.Alert); popup.AddAction(UIAlertAction.Create("OK", UIAlertActionStyle.Default, null)); PresentViewController(popup, true, null); }
public override void ViewDidLoad() { if (item != null) { ResumeLabel.Text = item.ToString(); bodyLabel.Text = item.Body; } }