Ejemplo n.º 1
0
        private void SignInDialog_mOnSignInComplete(object sender, OnSignInEventArgs e)
        {
            SetContentView(Resource.Layout.MainScreen);
            Android.Support.V4.App.FragmentManager     fragmentManager = SupportFragmentManager;
            Android.Support.V4.App.FragmentTransaction transaction     = fragmentManager.BeginTransaction();
            SlidingTabFragment fragment = new SlidingTabFragment();

            transaction.Replace(Resource.Id.sample_content_fragment, fragment);
            transaction.Commit();
        }
Ejemplo n.º 2
0
        private void SignUpDialog_mOnSignUpComplete(object sender, OnSignUpEventArgs e)
        {
            // Request(e);
            userName  = e.FirstName;
            userEmail = e.Email;

            SetContentView(Resource.Layout.MainScreen);
            Android.Support.V4.App.FragmentManager     fragmentManager = SupportFragmentManager;
            Android.Support.V4.App.FragmentTransaction transaction     = fragmentManager.BeginTransaction();
            SlidingTabFragment fragment = new SlidingTabFragment();

            transaction.Replace(Resource.Id.sample_content_fragment, fragment);
            transaction.Commit();
        }