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