title: Android Studio How to check which Imageview has clicked and assign an Int value to it?
body: <p><strong>ActivityOne</strong></p>
  
  <p>I have 12 Imageviews. User click on either 1 of them. 
  If they click ImageView 1, we assign a int value to it (image_id=1; )</p>
  
  <p><strong>ActivityTwo</strong></p>
  
  <p>Use a If else statement to check which image has they clicked</p>
  
  <pre><code>Intent result_intent=getIntent();
  
      if (image_id==1) {
          text.setText("U have clicked image "+image_id);
      }
  </code></pre>
  
  <p><strong>I need the int value in ActivityTwo as I need to calculate sth.</strong>  Anyone can help? Thx</p>