public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { var cell = tableView.DequeueReusableCell (VERSE_CELL) as VerseCell; var rowData = data[indexPath.Row]; if (cell == null) { cell = new VerseCell (VERSE_CELL); } cell.PopulateCell (rowData); return cell; }
public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { var cell = tableView.DequeueReusableCell(VERSE_CELL) as VerseCell; var rowData = Verses[Keys[indexPath.Section]][indexPath.Row]; if (cell == null) { cell = new VerseCell(VERSE_CELL); } cell.PopulateCell(rowData); return(cell); }