Files
kotlin-fork/plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/parcelable.kt
T
Yan Zhulanow 3587a2a08e Parcelable: Use ClassLoader from the container class to load Parcelable (KT-20027)
When the parameter type is just "Parcelable", we would not pick the wrong (system) class loader anymore.
2017-09-12 22:07:08 +03:00

9 lines
196 B
Kotlin
Vendored

// CURIOUS_ABOUT writeToParcel, createFromParcel, <clinit>
package test
import kotlinx.android.parcel.*
import android.os.Parcelable
@Parcelize
class Foo(val parcelable: Parcelable): Parcelable