void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

            if (DurationFormatsTableView != null)
            {
                DurationFormatsTableView.Dispose();
                DurationFormatsTableView = null;
            }

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            TitleLabel.Text = Resources.DurationFormat;

            DurationFormatsTableView.RowHeight = rowHeight;
            DurationFormatsTableView.RegisterNibForCellReuse(DurationFormatViewCell.Nib, DurationFormatViewCell.Identifier);

            var source = new CustomTableViewSource <SectionModel <Unit, SelectableDurationFormatViewModel>, Unit, SelectableDurationFormatViewModel>(
                DurationFormatViewCell.CellConfiguration(DurationFormatViewCell.Identifier),
                ViewModel.DurationFormats
                );

            DurationFormatsTableView.Source = source;

            source.Rx().ModelSelected()
            .Subscribe(ViewModel.SelectDurationFormat.Inputs)
            .DisposedBy(disposeBag);

            BackButton.Rx()
            .BindAction(ViewModel.Close)
            .DisposedBy(disposeBag);
        }