title: How can I write a list of objects to firebase?
body: <p>I am trying to write multiple nodes at one go in Firebase, my data class </p>
  
  <pre><code>@IgnoreExtraProperties
  public class Data{
      public String desc;
      public double id;
      public data(String desc,double id) {
          this.id=id;
          this.desc=desc;
      }
  }
  </code></pre>
  
  <p>And I am trying this</p>
  
  <pre><code>   .....//firebase auth ok
  
      ArrayList&lt;Data&gt; mydata= new ArrayList&lt;&gt;();
      mydata.add(new Items("data1",1));
      mydata.add(new Items("data2",2));                               
      mDatabase.child("DATA").setValue(mydata);
  </code></pre>
  
  <p>But this fails as firebase doesn't support Listarray I guess, as I am getting the error</p>
  
  <blockquote>
    <p>com.google.firebase.database.DatabaseException: No properties to
    serialize found on class android.support.v4.app.LoaderManagerImpl</p>
  </blockquote>