Ejemplo n.º 1
0
 public override UITableViewCell GetCell(UITableView tv)
 {
     Cell = tv.DequeueReusableCell (key) as TextWithImageCellView ?? new TextWithImageCellView ();
     Cell.SelectionStyle = UITableViewCellSelectionStyle.None;
     Cell.UpdateFrom (this);
     return Cell;
 }
Ejemplo n.º 2
0
 public override UITableViewCell GetCell(UITableView tv)
 {
     var cell = tv.DequeueReusableCell (key) as TextWithImageCellView;
     if (cell == null)
         cell = new TextWithImageCellView (this);
     else
         cell.UpdateFrom (this);
     return cell;
 }
        protected override UITableViewCell GetCellImpl(UITableView tv)
        {
            var cell = tv.DequeueReusableCell(CellKey) as TextWithImageCellView;

            if (cell == null)
            {
                cell = new TextWithImageCellView(this);
            }
            else
            {
                cell.UpdateFrom(this);
            }
            return(cell);
        }
        public override UITableViewElementCell GetCell(UITableView tableView)
        {
            var cell = tableView.DequeueReusableCell(Id) as TextWithImageCellView;

            if (cell == null)
            {
                cell = new TextWithImageCellView(this, Id);
            }
            else
            {
                cell.UpdateFrom(this);
            }
            Cell = cell;
            return(cell as UITableViewElementCell);
        }
		public override UITableViewElementCell GetCell(UITableView tableView)
		{
			var cell = tableView.DequeueReusableCell(Id) as TextWithImageCellView;
			if (cell == null)
				cell = new TextWithImageCellView(this, Id);
			else
				cell.UpdateFrom(this);
			Cell = cell;
			return cell as UITableViewElementCell;
		}