Parcelable array not passing between activities
<p>So, I'm having an issue with passing a Parcelable array between two activities. For some reason, the app blows up before it even loads the activity I'm calling.</p>

<p>Here is the object I am trying to pass. </p>

<pre><code>import android.os.Parcel;
import android.os.Parcelable;

public class Inventory implements Parcelable{
public String inventory_id = "" ;
public String vin = "" ;
public String stock = "" ;
public String new_used = "" ;
public String certified = "" ;
public String mileage = "" ;

public Inventory() {}

@Override
public int describeContents() {
    return 0;
}

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(inventory_id);
    dest.writeString(vin);
    dest.writeString(stock);
    dest.writeString(new_used);
    dest.writeString(certified);
    dest.writeString(mileage);
}

public Inventory(Parcel source){
    inventory_id = source.readString();
    vin = source.readString();
    stock = source.readString();
    new_used = source.readString();
    certified = source.readString();
    mileage = source.readString();
}

public static final Parcelable.Creator&lt;Inventory&gt; CREATOR = new  Parcelable.Creator&lt;Inventory&gt;() {

    public Inventory createFromParcel(Parcel source) {
        return new Inventory(source);
    }

    public Inventory[] newArray(int size) {
        return new Inventory[size];
    }
};    
}
</code></pre>

<p>And here is the line where I pass it</p>

<pre><code>Intent intent = new Intent(this, Activity2.class);
intent.putParcelableArrayListExtra("invList", invList); //This is a list of inventory objects.
startActivity(intent);
</code></pre>

<p>This code never loads Activity2. I can create a debug point in the onCreate method in Activity 2 and it is never called. If I comment out <em>intent.putParcelableArrayListExtra("invList", invList);</em>, Activity2 will load, but of course blows up when I get to the line that needs the invList, which leads me to believe that something is happening with the Parcelable objects between activities. I get nothing in my LogCat. It just reloads Activity1.</p>

<p>Any help here would be appreciated.</p>
