title: Put a ParcebleArrayList into a Bundle to call a new intent
body: <p>I'm trying to put this class in a Array and send it to a bundle with 
  bundle.putParcelableArrayList , Any tip about it ?</p>
  
  <p>Here is the class that I'm implementing Parcelable </p>
  
  <pre><code>package neocom.dealerbook.model;
  
  
  import android.os.Parcel;
  import android.os.Parcelable;
  
  /**
   * Created by viana.wesley on 30/03/15.
   */
  public class LojaHeader implements Parcelable {
  
      private int id;
      private int idOriginal;
      private int logo;
      private String nome;
      private String endereco;
  
      public LojaHeader() {
      }
  
      public LojaHeader(Parcel source){
          id = source.readInt();
          idOriginal = source.readInt();
          logo = source.readInt();
          nome = source.readString();
          endereco = source.readString();
      }
  
      @Override
      public void writeToParcel(Parcel parcel, int i) {
          parcel.writeInt(id);
          parcel.writeInt(idOriginal);
          parcel.writeInt(logo);
          parcel.writeString(nome);
          parcel.writeString(endereco);
      }
  
      @Override
      public int describeContents() {
          return 0;
      }
  
  
      public int getId() {
          return id;
      }
  
      public void setId(int id) {
          this.id = id;
      }
  
      public int getIdOriginal() {
          return idOriginal;
      }
  
      public void setIdOriginal(int idOriginal) {
          this.idOriginal = idOriginal;
      }
  
      public int getLogo() {
          return logo;
      }
  
      public void setLogo(int logo) {
          this.logo = logo;
      }
  
      public String getNome() {
          return nome;
      }
  
      public void setNome(String nome) {
          this.nome = nome;
      }
  
      public String getEndereco() {
          return endereco;
      }
  
      public void setEndereco(String endereco) {
          this.endereco = endereco;
      }
  
      public static final Parcelable.Creator&lt;LojaHeader&gt; CREATOR = new Parcelable.Creator&lt;LojaHeader&gt;(
          @Override
          public LojaHeader createFromParcel(Parcel parcel) {
              return new LojaHeader(parcel);
          }
  
          @Override
          public LojaHeader[] newArray(int i) {
              return new LojaHeader[i];
          }
      };
  
  }
  </code></pre>
  
  <p>Here is how I'm calling this intent.</p>
  
  <pre><code>public void callPointListActivity(View view) {
          List&lt;Marker&gt; markers = mMap.getMarkers();
          ArrayList&lt;LojaHeader&gt; lojaHeaders = new ArrayList&lt;&gt;();
          Log.d(TAG, markers.toString());
  
          for (Marker m : markers){
              Loja loja = m.getData();
              lojaHeaders.add(loja.getLojaHeader());
          }
  
  
          Intent intent = new Intent(getActivity(), PointListActivity.class);
          Bundle bundle = new Bundle();
          bundle.putParcelableArrayList("LojaHeader", lojaHeaders);
          startActivity(intent, bundle);
  
      }
  </code></pre>
  
  <p>I'm getting this error</p>
  
  <pre><code>Caused by: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: neocom.dealerbook.model.LojaHeader
              at android.os.Parcel.readException(Parcel.java:1474)
              at android.os.Parcel.readException(Parcel.java:1426)
              at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2115)
              at android.app.Instrumentation.execStartActivity(Instrumentation.java:1536)
              at android.app.Activity.startActivityFromFragment(Activity.java:3957)
              at android.app.Fragment.startActivity(Fragment.java:1050)
              at neocom.dealerbook.MapFragment.callPointListActivity(MapFragment.java:701)
              at neocom.dealerbook.MapActivity.callPointListActivity(MapActivity.java:95)
              at java.lang.reflect.Method.invokeNative(Native Method)
              at java.lang.reflect.Method.invoke(Method.java:515)
              at android.view.View$1.onClick(View.java:3825)
              at android.view.View.performClick(View.java:4445)
              at android.view.View$PerformClick.run(View.java:18446)
              at android.os.Handler.handleCallback(Handler.java:733)
              at android.os.Handler.dispatchMessage(Handler.java:95)
              at android.os.Looper.loop(Looper.java:136)
              at android.app.ActivityThread.main(ActivityThread.java:5146)
              at java.lang.reflect.Method.invokeNative(Native Method)
              at java.lang.reflect.Method.invoke(Method.java:515)
              at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
              at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
              at dalvik.system.NativeStart.main(Native Method)
  </code></pre>