public override UITableViewCell GetCell(UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath)
 {
     var cell = tableView.DequeueReusableCell(cellIdentifier) as ProductionSegmentCell;
     if (cell == null)
         cell = new ProductionSegmentCell(cellIdentifier);
     cell.UpdateCell(hogType.Segments[indexPath.Section].SegQtys[indexPath.Row]);
     return cell;
 }
Beispiel #2
0
        public override UITableViewCell GetCell(UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath)
        {
            var cell = tableView.DequeueReusableCell(cellIdentifier) as ProductionSegmentCell;

            if (cell == null)
            {
                cell = new ProductionSegmentCell(cellIdentifier);
            }
            cell.UpdateCell(hogType.Segments[indexPath.Section].SegQtys[indexPath.Row]);
            return(cell);
        }