public virtual void OnAirportSelected(TipSelectedEventArgs e) { EventHandler <TipSelectedEventArgs> handler = TipSelected; if (null != handler) { handler(this, e); } }
public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { tableView.DeselectRow(indexPath, true); Tip tip = Tips[indexPath.Row]; var args = new TipSelectedEventArgs { Index = indexPath.Row, SelectedTip = tip }; OnAirportSelected(args); }