Exemple #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);
        }
Exemple #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);
        }
Exemple #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;
        }
Exemple #4
0
 public FlightCellView(FlightTableViewCell cell)
 {
     this.cell = cell;
 }
 public FlightCellView(FlightTableViewCell cell)
 {
     this.cell = cell;
 }