public virtual void Selected (NSIndexPath indexPath) { var section = root.Sections [indexPath.Section]; var element = section.Elements [indexPath.Row]; element.Selected (this, tableView, indexPath); }
public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { var onSelection = Container.OnSelection; if (onSelection != null) { onSelection(indexPath); } Container.Selected(indexPath); }