Example #1
0
        protected override UITableViewCell GetOrCreateCellFor(UITableView tableView, NSIndexPath indexPath, object item)
        {
            var reuse = tableView.DequeueReusableCell(CellIdentifier);

            if (reuse != null)
            {
                return(reuse);
            }

            var cell = CellCreator(tableView, indexPath, item);

            CellModifier?.Invoke(cell);
            return(cell);
        }