public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { SampleRowModel model = rows[indexPath.Row]; SampleTableCell cell = (SampleTableCell)tableView.DequeueReusableCell(cellKey); if (cell == null) { cell = new SampleTableCell(cellKey); } cell.Tag = indexPath.Row; cell.UpdateCell(model); return cell; }
public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { SampleRowModel model = rows[indexPath.Row]; SampleTableCell cell = (SampleTableCell)tableView.DequeueReusableCell(cellKey); if (cell == null) { cell = new SampleTableCell(cellKey); } cell.Tag = indexPath.Row; cell.UpdateCell(model); return(cell); }