title: Is it possible to send 2 objects of different types through parcelable?
body: <p>I am trying to pass 2 objects of different type from activity1 to activity2. One of them always returns null</p>
  
  <p>Heres what I have</p>
  
  <pre><code>Intent intent = new Intent(activity1.this, activity2.class);
  intent.putExtra("type1", object1);
  intent.putExtra("type2", object2);
  startActivity(intent);
  </code></pre>
  
  <p>Activity2:</p>
  
  <pre><code>onCreate(Bundle bundle){
     Bundle b = getIntent().getExtras();
     Type1 object1 = b.getParcelable("type1");
     Type2 object2 = b.getParcelable("type2");
  } 
  </code></pre>
  
  <p>One of them returns null, any idea why?</p>
  
  <p>I checked both objects before sending and they are in fact not null.</p>