private void SetModelOfCell(FeedCell cell, NSIndexPath indexPath) { if (this.Feeds == null || this.Feeds.Length == 0) { return; } cell.Feed = this.Feeds[indexPath.Row]; }
public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { FeedCell cell = tableView.DequeueReusableCell(FeedIdentifier, indexPath) as FeedCell; if (cell == null) { cell = new FeedCell(FeedIdentifier); } SetModelOfCell(cell, indexPath); return(cell); }