Пример #1
0
        public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            var cell = tableView.DequeueReusableCell(cellId) as ProductTableViewCell;

            if (cell == null)
            {
                cell = new ProductTableViewCell(products[indexPath.Row], cellId);
            }

            cell.UpdateCell(products[indexPath.Row]);
            return(cell);
        }
Пример #2
0
        public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            var cell = tableView.DequeueReusableCell(cellId) as ProductTableViewCell;
            if (cell == null)
            {
                cell = new ProductTableViewCell(products[indexPath.Row], cellId);
            }

            cell.UpdateCell(products[indexPath.Row]);
            return cell;
        }
 public ConnectionDelegate(ProductTableViewCell cell)
 {
     this.cell = cell;
 }
 public ConnectionDelegate(ProductTableViewCell cell)
 {
     this.cell = cell;
 }