Esempio n. 1
0
        void PerformSignInWithTransition(View v)
        {
            var activity = Activity;

            var pairs = TransitionHelper.CreateSafeTransitionParticipants(activity, true,
                                                                          new Pair(v, activity.GetString(Resource.String.transition_avatar)));
            var activityOptions = ActivityOptions.MakeSceneTransitionAnimation(activity, pairs);

            CategorySelectionActivity.Start(activity, player, activityOptions);
        }
Esempio n. 2
0
        public override void OnViewCreated(View view, Bundle savedInstanceState)
        {
            AssurePlayerInit();
            CheckIsInEditMode();

            if (player == null || edit)
            {
                view.FindViewById(Resource.Id.empty).Visibility   = ViewStates.Gone;
                view.FindViewById(Resource.Id.content).Visibility = ViewStates.Visible;
                InitContentViews(view);
                InitContents();
            }
            else
            {
                var activity = Activity;
                CategorySelectionActivity.Start(activity, player);
                activity.Finish();
            }
            base.OnViewCreated(view, savedInstanceState);
        }