Gabor Varadi
Sep 27, 2024

--

This happens if your custom type contains an URI. The JSON is appended to the link itself underneath. So the documentation says you can use "Uri.encode()" to ensure this doesn't break. Personally I converted the JSON to Base64. I remember the times when Google said, 'use Parcelable, it is much less memory usage and overhead than using a JSON string'. Well, it appears modernity has taken a toll to this, too.

--

--

Gabor Varadi
Gabor Varadi

Written by Gabor Varadi

Android dev. Zhuinden, or EpicPandaForce @ SO. Extension function fan #Kotlin, dislikes multiple Activities/Fragment backstack.

No responses yet