Question about storing intent on local cache, is ...
# android
t
Question about storing intent on local cache, is doing this a bad practice? if not, how to avoid complain error when I trying to use kotlin serialization for local cache?
Copy code
Serializer for class 'Intent' is not found.
Please ensure that class is marked as '@Serializable' and that the serialization compiler plugin is applied.
c
To serialize an intent would be hard because of the
extras
so a intent is „parceable“. You can try though to write your own serializer. Nothing stops you from that.
The error message just tells you that you came not registered a serializer for the intent class.
t
got it, thanks for the explanation