https://kotlinlang.org logo
#android
Title
# android
d

Danish Ansari

03/16/2023, 1:48 PM
Can someone please explain me the difference between
@kotlinx.parcelize.Parcelize
and
@kotlinx.android.parcel.Parcelize
annotation? They have exact same documentation and both come from
kotlin-parcelize
gradle plugin. Android Studio warns that later one is deprecated but I can clearly see that
kotlinx.android.parcel.Parcelize.kt
is not annotated with
@Deprecated
, so where is the warning coming from?
d

Danish Ansari

03/16/2023, 3:40 PM
Thanks @zsmb for clarifying
34 Views