@Override public void didSelectRow(UITableView tableView, NSIndexPath indexPath) { if (tableItems.get(indexPath.getRow()) instanceof StringSelectionCell) { ((StringSelectionCell) tableItems.get(indexPath.getRow())).tap(); } tableView.deselectRow(indexPath, true); }
@Override public void didSelectRow(UITableView tableView, NSIndexPath indexPath) { if (indexPath.getSection() == 0) { switch (indexPath.getRow()) { case 0: logEventAction(); break; case 1: logEventWithParametersAction(); break; case 2: logTimedEventAction(); break; case 3: logErrorAction(); break; case 4: setUserDataAction(); break; case 5: setLocationAction(); break; default: break; } } else { switch (indexPath.getRow()) { case 0: break; default: break; } } tableView.deselectRow(indexPath, true); }