kotlinx Questions

3

I'm having a hard time finding documentation on how to deserialize date fields. How do i achieve this? Most solutions i found on SO don't work or they use classes that are no longer available @Seri...
Ruck asked 28/4, 2021 at 18:21

2

Solved

I am trying to serialize a json, but its throwing JsonDecodingException. Check the code: SerializationTestCase.kt: import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable ...
Efficiency asked 18/3, 2021 at 12:1

1

Solved

I am trying to consume and emit JSON which contains a polymorphic list of items. The problem is: the items contain type key with integer values (not strings). The API endpoint produces and expects ...
Withstand asked 27/7, 2022 at 14:26

4

Solved

I am getting this error while trying to read the bundle from another fragment where I am sending the NewVehicle object. Error : Class 'NewVehicle' is not abstract and does not implement abstract me...
Thermodynamic asked 12/1, 2021 at 17:50

0

I tried to enable HTML strings, especially with links e.g.: "We are a <a href="/about/about_team.htm">team</a> of professionals working hard to provide free learning cont...

1

This line: import kotlinx.coroutines.* Gives me Unresolved reference: kotlinx error. My project creation process is very basic: In Intellij Idea: New project -> Kotlin -> JVM My project stru...
Insulin asked 1/11, 2021 at 8:58

1

Solved

I just wanted to taste Kotlin coroutines. Unfortunately, I haven't been able to use the library kotlinx in IntelliJ. I have downloaded the library through Maven. Tried invalidating caches. Rebuilt...
Mixtec asked 27/6, 2021 at 10:4

1

Solved

We are making our next project in the company with kotlin multiplatform. Everything worked fine until I tried to create a release version for android to beta test. I got this error in release versi...
1

© 2022 - 2024 — McMap. All rights reserved.