ankushg
10/10/2019, 6:19 PMkotlinx.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