title: Make ArrayList<ArrayList<Integer>> parcelable
body: <p>I am trying to make the following Class parcelable. Usually, I do this by using the parcelabler website. But the website seems to have problems with the ArrayList> part. Does anybody know how to do it properly?
  Thanks in advance!</p>
  
  <pre><code>package com.example.stoos.data;
  
  import java.util.ArrayList;
  
  import android.os.Parcel;
  import android.os.Parcelable;
  
  public class DataModelDiagrammDaten implements Parcelable {
  ArrayList&lt;String&gt; Antworten = new ArrayList&lt;String&gt;();
  ArrayList&lt;ArrayList&lt;Integer&gt;&gt; AntwortIDs = new ArrayList&lt;ArrayList&lt;Integer&gt;&gt;();
  
  public ArrayList&lt;String&gt; getAntworten() {
      return Antworten;
  }
  
  public ArrayList&lt;ArrayList&lt;Integer&gt;&gt; getAntwortIDs() {
      return AntwortIDs;
  }
  
  public void setAntworten(ArrayList&lt;String&gt; antworten) {
      Antworten = antworten;
  }
  
  public void setAntwortIDs(ArrayList&lt;ArrayList&lt;Integer&gt;&gt; antwortIDs) {
      AntwortIDs = antwortIDs;
  }
  
  public DataModelDiagrammDaten(ArrayList&lt;String&gt; antworten,
          ArrayList&lt;ArrayList&lt;Integer&gt;&gt; antwortIDs) {
      super();
      Antworten = antworten;
      AntwortIDs = antwortIDs;
  }
  
  
  
  protected DataModelDiagrammDaten(Parcel in) {
      if (in.readByte() == 0x01) {
          Antworten = new ArrayList&lt;String&gt;();
          in.readList(Antworten, String.class.getClassLoader());
      } else {
          Antworten = null;
      }
  }
  
  @Override
  public int describeContents() {
      return 0;
  }
  
  @Override
  public void writeToParcel(Parcel dest, int flags) {
      if (Antworten == null) {
          dest.writeByte((byte) (0x00));
      } else {
          dest.writeByte((byte) (0x01));
          dest.writeList(Antworten);
      }
  }
  
  @SuppressWarnings("unused")
  public static final Parcelable.Creator&lt;DataModelDiagrammDaten&gt; CREATOR = new Parcelable.Creator&lt;DataModelDiagrammDaten&gt;() {
      @Override
      public DataModelDiagrammDaten createFromParcel(Parcel in) {
          return new DataModelDiagrammDaten(in);
      }
  
      @Override
      public DataModelDiagrammDaten[] newArray(int size) {
          return new DataModelDiagrammDaten[size];
      }
  };
  }
  </code></pre>