public override void RowSelected (UITableView tableView, NSIndexPath indexPath) { EditScoutEventArgs editArgs = new EditScoutEventArgs(); editArgs.ScoutID = _tableItems[indexPath.Section].IDs[indexPath.Row]; editArgs.ScoutAction = "EditScout"; EditScout(this, editArgs); tableView.DeselectRow(indexPath, true); }
void HandleTableDataEditScout(object sender, EditScoutEventArgs e) { AddAScout myEditScout = new AddAScout(); myEditScout.ScoutID = e.ScoutID; myEditScout.ScoutAction = e.ScoutAction; this.NavigationController.PushViewController(myEditScout, true); }