public override UITableViewCell GetCell (UITableView tv) { CustomOwnerDrawnCell cell = tv.DequeueReusableCell(this.CellReuseIdentifier) as CustomOwnerDrawnCell; if (cell == null) { cell = new CustomOwnerDrawnCell(this, this.Style, this.CellReuseIdentifier) { SelectionStyle = SelectionStyle, Accessory = Accessory, }; } else { cell.Element = this; } cell.Update(); return cell; }
public OwnerDrawnCellView(CustomOwnerDrawnElement element, CustomOwnerDrawnCell cell) { this.element = element; this.cell = cell; }