title: android nested object parceling
body: <p><strong>how can we parcel nested object in an intent?</strong>. <br/>For example 
  lets say there is an object A which contain one string variable and one another object B. now B contain object C . C contain a list of string. so how i can parcel object A in an intent.<br/> any help on this will be appreciated.<br/> thanks in advance.</p>
  
  <p><strong>Implementation:</strong></p>
  
  <pre><code>public static class A 
  {
      private B  ObjectB;
  }
  
  public static class B 
  {
      private String type;
      private List&lt;C&gt; C;
  }
  
  public static class C 
  {
      private List&lt;D&gt; D;
  }
  
  public static class D 
  {
      private String id;
      private String name;
      private String address;
      private String email;
  }
  </code></pre>
  
  <p>how to write parcelable for class C.
  i am using</p>
  
  <pre><code>dest.writeParceable(ObjectC,flag)
  </code></pre>
  
  <p>For reading:</p>
  
  <pre><code>in.readParcelable(C.getClass().getClassLoader());
  </code></pre>
  
  <p>but its not working</p>