Use Different Parsers | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/10376651-android-networking-fundamentals/lessons/20

Hello, nice tutor!
however, I met a problem when I implement the kontlinx serialization.
It appears that the app build and launched without error, but I canโ€™t seems to fetch any API. I also notice that android studio is stuck on analyzing file that have the @Serializable annotation.

Iโ€™m using the latest android studio 4.2
Any help would be appreciated!

Hey @kgkevinwg !

Iโ€™m not sure what you mean by canโ€™t fetch the API or stuck on analyzing.

I imagine the serialization version is out of date, so try to implement a newer one, using the following documentation:

Thanks!

I was able to fix this issue by adding and empty string as the default for title and content in both Task and AddTaskRequest