public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
        {
            if (IsNumberOfCommitters(indexPath.Section))
            {
                // Ugly fix for nullpointer, happens when you click a cell that is not yet created by GetCell
                if (countCells[countSelected] == null)
                {
                    return;
                }
                countCells[countSelected].AccessoryView = null;
                countCells[indexPath.Row].AccessoryView = RadioGroupTableViewSource.BlackAccessoryCheckmark();
                countSelected = indexPath.Row;

                model.NumberOfCommitters = countValues[countSelected];

                countCells[countSelected].SetSelected(false, true);
            }

            if (IsTimePeriod(indexPath.Section))
            {
                // Ugly fix for nullpointer, happens when you click a cell that is not yet created by GetCell
                if (timeCells[timeSelected] == null)
                {
                    return;
                }
                timeCells[timeSelected].AccessoryView  = null;
                timeCells[indexPath.Row].AccessoryView = RadioGroupTableViewSource.BlackAccessoryCheckmark();
                timeSelected = indexPath.Row;

                model.TimePeriod = timeValues[timeSelected];

                timeCells[timeSelected].SetSelected(false, true);
            }
        }
        public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            if (indexPath.Section == 0)
            {
                return(base.GetCell(tableView, indexPath));
            }

            var cell = new UITableViewCell(UITableViewCellStyle.Default, string.Format("RadioButtonTableCell{0}{1}", indexPath.Section, indexPath.Row))
            {
                AccessoryView = null
            };

            if (IsNumberOfCommitters(indexPath.Section))
            {
                if (indexPath.Row == countSelected)
                {
                    cell.AccessoryView = RadioGroupTableViewSource.BlackAccessoryCheckmark();
                }
                cell.TextLabel.Text = string.Format("Top {0} committers", countValues[indexPath.Row]);
                countCells.Insert(indexPath.Row, cell);
            }

            if (IsTimePeriod(indexPath.Section))
            {
                if (indexPath.Row == timeSelected)
                {
                    cell.AccessoryView = RadioGroupTableViewSource.BlackAccessoryCheckmark();
                }
                cell.TextLabel.Text = string.Format("Past {0}", timeValues[indexPath.Row].ToSuffix());
                timeCells.Insert(indexPath.Row, cell);
            }

            cell.StyleAsSettingsTableCell();

            return(cell);
        }