title: True and False button update questions and answer
body: <p>Hi doing a simple test for concussion. Has a textView and then a true and false button, the more true answers results in a not diagnosed result. I want each click on either the true or false button to update text view to next question. The false answer seems to do nothing! Is this a good way to do it or should I be trying something else,
  Thanks
  MainActivity</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity implements View.OnClickListener {
  
      int[] stringIdList = {R.string.Q1, R.string.Q2, R.string.Q3, R.string.Q4, R.string.Q5};
      int stringListCounter = 0;
      TextView text1;
      int concussued = 0;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          Button button = findViewById(R.id.button);
          text1 = findViewById(R.id.text1);
          button.setOnClickListener(this);
          Button negative=findViewById(R.id.button3);
          negative.setOnClickListener(this);
  
      }
  
  
      @SuppressLint("SetTextI18n")
  
      public void onClick(@NonNull View v) {
          int id = v.getId();
  
          if (id == R.id.button &amp;&amp; stringListCounter &lt; stringIdList.length - 1) {
              stringListCounter++;
  
              text1.setText(stringIdList[stringListCounter]);
          }
          concussued = concussued - 1;
      }
  
  
  
      public void onClick2(@NonNull View v) {
  
          int id = v.getId();
  
  
          if (id == R.id.button3 &amp;&amp; stringListCounter &lt; stringIdList.length - 1) {
              stringListCounter++;
              text1.setText(stringIdList[stringListCounter]);
          }
          concussued = concussued + 1;
      }
  
      public void onClick3(View v) {
          Button diagnose = findViewById(R.id.button2);
          diagnose.setOnClickListener(this);
          findViewById(R.id.text1);
          if (concussued &gt;= 2) {
              text1.setText("Concussed!");
  
          } else {
              text1.setText("Not concussed");
          }
      }
  }
  </code></pre>
  
  <p>MainActivityXML</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".MainActivity"&gt;
  
      &lt;TextView
          android:id="@+id/text1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:onClick="onClick"
          android:text=""
          app:layout_constraintBottom_toBottomOf="parent"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintHorizontal_bias="0.498"
          app:layout_constraintLeft_toLeftOf="parent"
          app:layout_constraintRight_toRightOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toTopOf="parent"
          app:layout_constraintVertical_bias="0.176" /&gt;
  
      &lt;Button
          android:id="@+id/button"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginTop="308dp"
          android:onClick="onClick"
          android:text="True"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toTopOf="parent" /&gt;
  
      &lt;Button
          android:id="@+id/button2"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginStart="167dp"
          android:layout_marginLeft="167dp"
          android:layout_marginTop="196dp"
          android:onClick="onClick3"
          android:text="Diagnose"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/button" /&gt;
  
      &lt;Button
          android:id="@+id/button3"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginTop="33dp"
          android:onClick="onClick2"
          android:text="False"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/button" /&gt;
  
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>