Christophe Beyls
1 min readFeb 11, 2020

--

There is a whole section in the article where I explain how you can work around the fact that the CREATOR field is not accessible from Kotlin.

Regarding your specific issue, you suggest you have to convert your Parcelable into a byte array. Instead of doing that, did you try putting the Parcelable into a new Bundle instead, and adding that new Bundle into the PendingIntent extra Bundle? If that works it would be a simpler solution.

--

--

Christophe Beyls

Android developer from Belgium, blogging about advanced programming topics.