mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
13 lines
336 B
Kotlin
Vendored
13 lines
336 B
Kotlin
Vendored
// CURIOUS_ABOUT writeToParcel, createFromParcel
|
|
// WITH_RUNTIME
|
|
|
|
import kotlinx.android.parcel.*
|
|
import android.os.Parcelable
|
|
import android.util.Size
|
|
import android.util.SizeF
|
|
|
|
@Parcelize
|
|
data class Test(val size: Size, val nullable: Size?) : Parcelable
|
|
|
|
@Parcelize
|
|
data class TestF(val size: SizeF, val nullable: SizeF?) : Parcelable |