title: Passing object with arraylist inside of it through Intent
body: <p>I want Activity2 to receive object (this object has ArrayList of other objects inside) through Intent.
  Object to transfer:</p>
  
  <pre><code>public class Card implements Parcelable {
  
      @SerializedName("product_name")
      private String productName;
      private String description;
      private List&lt;Price&gt; prices;
  
      public Card() {
      }
  
      public Card(String productName, String description, List&lt;Price&gt; prices) {
          this.productName = productName;
          this.description = description;
          this.prices = prices;
      }
  
      protected Card(Parcel in) {
          productName = in.readString();
          description = in.readString();
      }
  
  
      public static final Creator&lt;Card&gt; CREATOR = new Creator&lt;Card&gt;() {
          @Override
          public Bundle createFromParcel(Parcel in) {
              return new Card(in);
          }
  
          @Override
          public Card[] newArray(int size) {
              return new Card[size];
          }
      };
  
      public String getProductName() {
          return productName;
      }
  
      public String getDescription() {
          return description;
      }
  
      public List&lt;Price&gt; getPrices() {
          return prices;
      }
  
      @Override
      public int describeContents() {
          return 0;
      }
  
      @Override
      public void writeToParcel(Parcel dest, int flags) {
          dest.writeString(productName);
          dest.writeString(description);
          dest.writeTypedList(prices);
      } }
  </code></pre>
  
  <p>Intent (inside of Fragment):</p>
  
  <pre><code>Intent intent = new Intent(getActivity(), Activity2.class);
                          intent.putExtra(Activity2.ARG_BUNDLE, card);
                          startActivity(intent);
  </code></pre>
  
  <p>Activity2 receives object:</p>
  
  <pre><code>Intent intent = getIntent();
          if (intent != null) {
              bundle = intent.getParcelableExtra(ARG_BUNDLE);
          }
  </code></pre>
  
  <p>But Activity2 receives only object Card without ArrayList of Price inside (object Price also implements Parcelable). Maybe I'm doing something wrong?</p>