Challenge 2: Add a Listener to the textView


I tried to make mines similar to the rest of the buttons but with the algorithm of the next button. I had no errors but when I touch my screen nothing happens but the rest of the buttons work perfectly. This is what I have----->

//12-7-17 12:28am AR
mQuestionTextView = (TextView) findViewById(;
//Challenge: add a listener to the textView
mQuestionTextView.setOnClickListener(new View.OnClickListener()
public void onClick(View v)
mCurrentIndex = (mCurrentIndex + 1) % mQuestionBank.length;


Your code looked fine to me. Make sure you touch the textView, not only screen.