public override UICollectionViewCell GetCell(UICollectionView collectionView, NSIndexPath indexPath) { var cell = (WeekCell)collectionView.DequeueReusableCell(WeekCell.CellID, indexPath); WeekElement row = Rows[indexPath.Row]; cell.UpdateRow(row, 20); return(cell); }
public void UpdateRow(WeekElement element, Single fontSize) { LabelView.Text = element.Week; LabelView.Font = UIFont.FromName("HelveticaNeue-Bold", fontSize); }