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; }
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(); }; }