Exemple #1
0
 public override void ViewDidLoad()
 {
     if (item != null)
     {
         ResumeLabel.Text = item.ToString();
         BodyLabel.Text   = item.Subject;
     }
 }
        public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
        {
            EmailItem item = emailServer.Email[indexPath.Row];

            var alert = UIAlertController.Create(item.Subject, item.ToString(), UIAlertControllerStyle.ActionSheet);

            alert.AddAction(UIAlertAction.Create("ok", UIAlertActionStyle.Default, null));
            PresentViewController(alert, true, null);
        }