Where is the @Parcelize documentation?

With the recent 1.1.60 version I wanted to try again the @Parcelize feature. I remember it being described at http://kotlinlang.org/docs/tutorials/android-plugin.html but now I can’t seem to find it anywhere.

Is there any documentation about the annotation?

3 Likes

There’s a specification in the form of KEEP here: https://github.com/Kotlin/KEEP/blob/master/proposals/extensions/android-parcelable.md

Hi a user-targeted documentation planned?

See https://kotlinlang.org/docs/tutorials/android-plugin.html

For anyone coming to the thread late, further details are now at https://kotlinlang.org/docs/reference/compiler-plugins.html#parcelable-implementations-generator