parcelable
Arraylist in parcelable object
reviews and authors are both null. You should first initialize the ArrayList. One way to do this is chain the constructor: public Movie (Parcel in) { this(); readFromParcel(in); }
Companion Objects in Kotlin Interfaces
In Kotlin, an interface can have a companion object but it is not part of the contract that must be implemented by classes that implement the interface. It is just an object associated to the interface that has one singleton instance. So it is a place you can store things, but doesn’t mean anything to … Read more
Migrate to the new kotlin-parcelize
That’s a bug in kapt and it’s reported here. Actually the java code you posted is a stub class which generated by kapt to run annotation processors on it (as you can see, there is no real implementation, just the structure and annotations). So as a workaround you can move the code with @Parcelize annotations … Read more