Beispiel #1
0
 public void UpdateCell(Klip klip)
 {
     Title.Text              = klip.name;
     Duration.Text           = klip.duration.ToString("hh\\:mm\\:ss");
     Description.Text        = klip.description;
     Settings.TouchUpInside += (sender, e) =>
     {
         System.Diagnostics.Debug.WriteLine("Klip Settings!!!!!!!");
     };
 }
            public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
            {
                ClipTableCell cell = (ClipTableCell)tableView.DequeueReusableCell(CellIdentifier);
                Klip          item = TableItems[indexPath.Row];

                if (cell == null)
                {
                    cell = new ClipTableCell(new NSString(CellIdentifier));
                }
                cell.UpdateCell(item);

                return(cell);
            }