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 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; }