title: sending text to new activity
body: <p>i have a relative view with different images each time i click on an image i want a unique text to be sent to another activity. i have been able to achieve this for the first image but i cant get the second image to send the text to next activity.
  my code for the first-activity:</p>
  
  <pre><code>        b1 = (ImageView) findViewById(R.id.native_amala);
          b2 = (ImageView) findViewById(R.id.native_fufu);
          b3 = (ImageView) findViewById(R.id.native_jollof);
          b4 = (ImageView) findViewById(R.id.native_ofada);
          b5 = (ImageView) findViewById(R.id.native_porridge);
  
  
          b1.setOnClickListener(new View.OnClickListener(){
  
              @Override
              public void onClick(View view){
  
                  TextView foodName1 = (TextView) findViewById(R.id.amala_text_view);
                  Intent intent = new Intent(NativeFoods.this,AddToCart.class);
                  intent.putExtra("Amala",foodName1.getText().toString());
                  startActivity(intent);
              }
  
          });
          b2.setOnClickListener(new View.OnClickListener(){
  
              @Override
              public void onClick(View view){
  
                  TextView foodName1 = (TextView) findViewById(R.id.fufu_text_view);
                  Intent intent2 = new Intent(NativeFoods.this,AddToCart.class);
                  intent2.putExtra("fufu",foodName1.getText().toString());
                  startActivity(intent2);
              }
  
          });
  
      }
  </code></pre>
  
  <p>My second activity:</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_add_to_cart);
  
          foodView = (TextView) findViewById(R.id.cart_item_text_view);
          Intent intent = getIntent();
          String str = intent.getStringExtra("Amala");
          foodView.setText(str);
  </code></pre>