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