title: Android Studio basic quiz issue
body: <p>So I'm trying to make a quiz in which I will have 4 buttons for possible answers. I want to check if the right button is pressed, if so I want to change the image for about 2 seconds and load the next question (which will be an image stored in an array) this will be in a for loop the length of the question array I believe? </p>
  
  <p>I'm having some trouble with this, as I'm also unsure on how to load a new question and then it know which button needs to be pressed, for example. question 1 might need button 1 pressing but question 2 might be button 3 but I don't want to change activity. </p>
  
  <p>creating the array and setting image view:</p>
  
  <pre><code>private  int[] ImageArr = new int[5];
  private ImageView image = (ImageView) findViewById(R.id.Question_ImgView);
  </code></pre>
  
  <p>filling array:</p>
  
  <pre><code>public void FillImage() {
  ImageArr[0] = R.drawable.img1;
  ImageArr[1] = R.drawable.img2;
  ImageArr[2] = R.drawable.img3;
  ImageArr[3] = R.drawable.img4;
  ImageArr[4] = R.drawable.img5;}
  </code></pre>
  
  <p>this is then called in the "onCreate method" to fill array on launch</p>
  
  <p>then i will have a questions method, this is where I want the before mentioned things to happen.</p>
  
  <p>tldr; I need to know how to loop through an image array if correct button is pressed (correct button changes for each question), and change the text on the buttons, till all questions are answered.</p>
  
  <p>any help would be appreciated, thanks in advance. :)</p>