Hi, since Kotlin is type strict, Call<Void> ...
# announcements
l
Hi, since Kotlin is type strict, Call<Void> should not work in retrofit2. Will Call<Unit> work?
d
Why not?
Call<Void>
compiles to the same in kotlin and java.
g
You need custom type adapter for Gson, that deserializes Unit to Unit instance instead of null