Beispiel #1
0
        public override UITableViewCell GetCell(UITableView tv)
        {
            var cell = tv.DequeueReusableCell (CurrencyElementCellKey) as CurrencyTableViewCell;

            if (cell == null)
                cell = new CurrencyTableViewCell (UITableViewCellStyle.Value1, CurrencyElementCellKey);

            cell.ExpirationDate = ExpirationDate;
            cell.Caption = Caption;

            return cell;
        }
Beispiel #2
0
        public override UITableViewCell GetCell(UITableView tv)
        {
            var cell = tv.DequeueReusableCell(CurrencyElementCellKey) as CurrencyTableViewCell;

            if (cell == null)
            {
                cell = new CurrencyTableViewCell(UITableViewCellStyle.Value1, CurrencyElementCellKey);
            }

            cell.ExpirationDate = ExpirationDate;
            cell.Caption        = Caption;

            return(cell);
        }