public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { var item = GetItemAt(indexPath); var selectionChangedArgs = MvxSimpleSelectionChangedEventArgs.JustAddOneItem(item); var handler = SelectionChanged; if (handler != null) { handler(this, selectionChangedArgs); } }
public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { if (ItemsSource == null) { return; } var item = ItemsSource[indexPath.Row]; var selectionChangedArgs = MvxSimpleSelectionChangedEventArgs.JustAddOneItem(item); var handler = SelectionChanged; if (handler != null) { handler(this, selectionChangedArgs); } }