title: How to parcel List<Int> with kotlin
body: <p>I want to pass a data class (that contains list of int as a property) to other activity through Bundle and therefore i need to add Parcelable implementation to my data class.
  any idea about how to parcel this property?</p>
  
  <pre><code>data class Test(val id: Long, val files: List&lt;Int&gt;?) : Parcelable {
  
  constructor(parcel: Parcel) : this(
          parcel.readLong(),
          TODO("files"))
  
  override fun writeToParcel(parcel: Parcel, flags: Int) {
      parcel.writeLong(id)
  }
  
  override fun describeContents(): Int {
      return 0
  }
  
  companion object CREATOR : Parcelable.Creator&lt;Test&gt; {
      override fun createFromParcel(parcel: Parcel): Test {
          return Test(parcel)
      }
  
      override fun newArray(size: Int): Array&lt;Test?&gt; {
          return arrayOfNulls(size)
      }
  }
  </code></pre>