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