public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { const string cellIdentifier = "Cell"; var cell = TableView.DequeueReusableCell(cellIdentifier) as ELCAssetCell; if (cell == null) { cell = new ELCAssetCell(UITableViewCellStyle.Default, cellIdentifier); } cell.SetAssets(AssetsForIndexPath(indexPath), Columns); return(cell); }
public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { const string cellIdentifier = "Cell"; var cell = TableView.DequeueReusableCell (cellIdentifier) as ELCAssetCell; if (cell == null) { cell = new ELCAssetCell (UITableViewCellStyle.Default, cellIdentifier); } cell.SetAssets (AssetsForIndexPath (indexPath), Columns); return cell; }