Пример #1
0
        protected override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath, Flight flight)
        {
            var cell = tableView.DequeueReusableCell(FlightTableViewCellKey) as FlightTableViewCell;

            if (cell == null)
            {
                cell = new FlightTableViewCell(FlightTableViewCellKey);
            }

            cell.Flight = flight;

            return(cell);
        }
Пример #2
0
        public override UITableViewCell GetCell(UITableView tv)
        {
            FlightTableViewCell cell = tv.DequeueReusableCell(key) as FlightTableViewCell;

            if (cell == null)
            {
                cell = new FlightTableViewCell(Flight, key);
            }
            else
            {
                cell.Flight = Flight;
            }

            cell.Highlighted = selected;
            cell.Selected    = selected;

            return(cell);
        }
Пример #3
0
        public override UITableViewCell GetCell(UITableView tv)
        {
            FlightTableViewCell cell = tv.DequeueReusableCell (key) as FlightTableViewCell;

            if (cell == null)
                cell = new FlightTableViewCell (Flight, key);
            else
                cell.Flight = Flight;

            cell.Highlighted = selected;
            cell.Selected = selected;

            return cell;
        }
Пример #4
0
 public FlightCellView(FlightTableViewCell cell)
 {
     this.cell = cell;
 }
Пример #5
0
 public FlightCellView(FlightTableViewCell cell)
 {
     this.cell = cell;
 }