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;
		}
Exemple #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);
        }