Join Slack
Communities
Powered by
<@U14DDSP39>: I believe GSON will use a no-arg con...
# android
m
marcin.kozinski
06/20/2016, 6:51 PM
@josh.kovach
: I believe GSON will use a no-arg constructor if you have one, so it should work if you give all your parameters a default value. There’s a “NOTE:” about this in the docs for secondary constructors:
https://kotlinlang.org/docs/reference/classes.html#secondary-constructors
Open in Slack
Previous
Next