Наследование: Fragment, DatePickerDialog.IOnDateSetListener, NumberPicker.IOnValueChangeListener
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.Page_DialogFragment);

            ActionBar.SetDisplayHomeAsUpEnabled(true);

            var newFragment = new CoolDialogsFragment();
            var ft = FragmentManager.BeginTransaction();
            ft.Add(Resource.Id.fragment_container, newFragment);
            ft.Commit();
        }
Пример #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.Page_DialogFragment);

            ActionBar.SetDisplayHomeAsUpEnabled(true);

            var newFragment = new CoolDialogsFragment();
            var ft          = FragmentManager.BeginTransaction();

            ft.Add(Resource.Id.fragment_container, newFragment);
            ft.Commit();
        }