title: Why onActivityResult always returns null values for Intent extra
body: <p>My onActivityResult method on activity always returns null for Intent extra. I'm directly calling these methods on activities. please help to find a solution for this.</p>
  
  <pre><code> private void onClickShopNameLayout() {
      shopNameLayout.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              Intent i = new Intent(OrderActivity.this,CustomerListActivity.class);
              startActivityForResult(i,CUSTOMER_REQUEST_CODE);
          }
      });
  }
  </code></pre>
  
  <p>Starting CustomerListActivity from OrderActivity</p>
  
  <pre><code>@Override
  public void onItemClick(View v, int position) {
      Customers customers = customersData.get(position);
      Intent intent = new Intent();
      intent.putExtra("testing","String value");
      intent.putExtra("selected_customer",customers);
      setResult(Activity.RESULT_OK,intent);
      finish();
  }
  </code></pre>
  
  <p>This is an Interface method from Recycler view Adapter class which triggers on list item click listner. implemented in CustomerListActivity</p>
  
  <pre><code>@Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
      switch (requestCode) {
          case CUSTOMER_REQUEST_CODE:
              if (resultCode == Activity.RESULT_OK) {
                  String testing = getIntent().getStringExtra("testing");
                  Customers customers = getIntent().getParcelableExtra("selected_customer");
                  String businessName = customers.getBusinessName();
                  Log.d(TAG,"customer name "+businessName +" testing "+testing);
  
              }
      }
  }
  </code></pre>
  
  <p>onActivityResult override method in OrderActivity.</p>