title: Android passing ArrayList<Object> within Intent
body: <p>I know that there are 2 ways to do this, Parcelable and Serializable. Another method (a bad one) is static variables.</p>
  
  <p>An entry of that list can be instance of class A or class B.</p>
  
  <p>I tried passing the list using Parcelable and Serializable with no success, since the class Object doesn't implement anything.</p>
  
  <pre><code>// When setting:
  
  List&lt;Object&gt; liveMatchList = DataCenter.getMatchesByDate(context, date,
                      tIdsAsString, true);
  intent.putExtra("SER", liveMatchList);
  
  // When getting:
  
  List&lt;Object&gt; matchesList = (List&lt;Object&gt;)intent.getSerializableExtra("SER");
  </code></pre>
  
  <p>How to do this please?</p>