OkParcelable is a Kotlin interface that extends Parcelable and is the easiest way to implement Parcelable.
OkParcelable 是一个继承了 Parcelable 的 Kotlin 接口,它能让你用最简单的方式实现 Parcelable。
implementation 'cn.thens:okparcelable:<last_version>'
Just let your data class implement OkParcelable.
让你的数据类直接实现 OkParcelable 就好了。