Esempio n. 1
0
		public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
		{
			var cell = tableView.DequeueReusableCell (PatchesViewControllerCell.Key) as PatchesViewControllerCell;
			if (cell == null)
				cell = new PatchesViewControllerCell (Data[indexPath.Row]);
			
			// TODO: populate the cell with the appropriate data based on the indexPath
			cell.DetailTextLabel.Text = "DetailsTextLabel";
			
			return cell;
		}
Esempio n. 2
0
        public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            var cell = tableView.DequeueReusableCell(PatchesViewControllerCell.Key) as PatchesViewControllerCell;

            if (cell == null)
            {
                cell = new PatchesViewControllerCell(Data[indexPath.Row]);
            }

            // TODO: populate the cell with the appropriate data based on the indexPath
            cell.DetailTextLabel.Text = "DetailsTextLabel";

            return(cell);
        }