title: Passing complex object between activity
body: <p>I have a problem passing an arraylist of complex object between 2 activity, the object (ObjA) is something like this:</p>
  
  <pre><code>ObjA:
  -String
  -Array of ObjB
  
  where ObjB is:
  ObjB:
  -String
  -Array of ObjC
  
  where ObjC is:
  ObjC:
  -String
  -String
  </code></pre>
  
  <p>the 3 object are serializable:</p>
  
  <pre><code>public class Obj implements Serializable{
  private static final long serialVersionUID = 1L;
  }
  </code></pre>
  
  <p>I try to pass the object as a normal extras but the app crash without any log, how can I pass this array?</p>
  
  <p>The 3 obj are serialazible, they have this form:
  public class Materia implements Serializable{</p>
  
  <pre><code>private static final long serialVersionUID = 1L;
  
  String titolo;
  String icona;
  ArrayList&lt;Sezione&gt; sezioni;
  
  public Materia (){}
  
  public String getTitolo() {
      return titolo;
  }
  
  public void setTitolo(String titolo) {
      this.titolo = titolo;
  }
  
  public String getIcona() {
      return icona;
  }
  
  public void setIcona(String icona) {
      this.icona = icona;
  }
  
  public ArrayList&lt;Sezione&gt; getSezioni() {
      return sezioni;
  }
  
  public void setSezioni(ArrayList&lt;Sezione&gt; sezioni) {
      this.sezioni = sezioni;
  }
  </code></pre>
  
  <p>}</p>