public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { var document = documentViewModel.Documents [indexPath.Row]; var cell = tableView.DequeueReusableCell(Identifier) as DocumentCell; if (cell == null) { cell = new DocumentCell(Identifier); cell.DocumentController = documentController; } cell.SetDocument(document); return(cell); }
public override UITableViewCell GetCell (UITableView tableView, NSIndexPath indexPath) { var document = documentViewModel.Documents [indexPath.Row]; var cell = tableView.DequeueReusableCell (Identifier) as DocumentCell; if (cell == null) { cell = new DocumentCell(Identifier); cell.DocumentController = documentController; } cell.SetDocument (document); return cell; }