Exemplo n.º 1
0
        void IncorrectAnswer()
        {
            IncorrectFragment incorrectFragment = new IncorrectFragment(quizQuestionList[quizPosition - 1].Answer);
            var trans = SupportFragmentManager.BeginTransaction();

            incorrectFragment.Cancelable = false;
            incorrectFragment.Show(trans, "Incorrect");
            incorrectFragment.NextQuestion += CorrectFragment_NextQuestion;
        }
Exemplo n.º 2
0
        void Incorrect()
        {
            IncorrectFragment incorrectFragment = new IncorrectFragment(quizQuestionsList[quizPosition - 1].Answer);
            var trans = SupportFragmentManager.BeginTransaction();

            incorrectFragment.Cancelable = false;
            incorrectFragment.Show(trans, "incorrect");
            incorrectFragment.NextQuestion += (sender, e) =>
            {
                NextQuestion();
            };
        }