title: Passing an ArrayList of Objects to the new Activity
body: <p>I have an ArrayList of objects. ie <code>ArrayList&lt;ObjectName&gt;</code>.</p>
  <p>I want to pass this to a new <code>Activity</code>. I tried to use <code>putParcelableArrayList</code> but it has issues with the object. I removed the <code>&lt;ObjectName&gt;</code> part from the creating of the variable and the method works but then I get eclipse complaining about unsafe stuff.</p>
  <p>How do I pass this <code>ArrayList&lt;ObjectName&gt;</code> to a new Activity</p>
  <p>Thanks for your time</p>
  <p><strong>EDIT</strong>
  I tried this :</p>
  <pre><code>ArrayList&lt;ObjectName&gt; arraylist = new Arraylist&lt;ObjectName&gt;();
  Bundle bundle = new Bundle();
  bundle.putParcelableArrayList(&quot;arraylist&quot;, arraylist);
  </code></pre>
  <p>I get the following Error:</p>
  <pre><code>The method `putParcelableArrayList(String, ArrayList&lt;? extends Parcelable&gt;)` in the type `Bundle` is not applicable for the arguments `(String, ArrayList&lt;ObjectName&gt;)`
  </code></pre>
  <p><strong>EDIT2</strong>
  Object Example Code. Do I need to changed this for <code>Parcelable</code> to work?</p>
  <pre><code>public class ObjectName {
      private int value1;
      private int value2;
      private int value3;
  
      public ObjectName (int pValue1, int pValue2, int Value3) {
          value1 = pValue1;
          value2 = pValue2;
          value3 = pValue3;
      }
  
      // Get Statements for each value below
      public int getValue1() {
          return value1;
      } 
      // etc
  </code></pre>