상속: Fragment
예제 #1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.Main);

            _fragmentContainer = FindViewById <FrameLayout>(Resource.Id.FragmentContainer);

            _signInFragment = new SignInFragment();
            SupportFragmentManager.BeginTransaction()
            .Add(Resource.Id.FragmentContainer, new SignInFragment())
            .Commit();
        }
예제 #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.Main);

            _fragmentContainer = FindViewById<FrameLayout>(Resource.Id.FragmentContainer);

            _signInFragment = new SignInFragment();
            SupportFragmentManager.BeginTransaction()
                .Add(Resource.Id.FragmentContainer, new SignInFragment())
                .Commit();
        }