another tip: you can simplify that whole declarati...
# getting-started
d
another tip: you can simplify that whole declaration with inline/reified:
Copy code
inline fun <reified T : Parcelable> creator(crossinline create: (Parcel) -> T) = object : Creator<T> {
  override fun createFromParcel(source: Parcel) = create(source)
  override fun newArray(size: Int) = arrayOfNulls<T?>(size)
}