https://kotlinlang.org logo
a

ankushg

10/10/2019, 6:19 PM
Is there a standard way of using the
kotlinx.android.parcel.Parcelize
annotation on models in Multiplatform-land? If I were to do it myself, I would try to: -
expect Parcelize
and
Parcelable
in
common
(probably using
OptionalExpectation
for
@Parcelize
) - typealias them for Android - make an empty interface for
Parcelable
on other platforms I just wanted to check if there was an "official" way to do it, or plans to bring it into the stdlib as a built-in
OptionalExpectation
like other ones
👍 1