https://kotlinlang.org logo
Title
n

Nir Golan

11/12/2019, 3:47 PM
hey all have anyone worked with moshi retrofit and pairs and lived to survive?
c

Christophe Smet

11/12/2019, 4:14 PM
I remember having to write a serializer for that.
d

Dipali

11/13/2019, 4:36 AM
yes... despite of all the Custom Adapter fixes required. I'm still using this library and survived.
c

Christophe Smet

11/13/2019, 10:03 AM
Isn’t there a open source project with all the adapters ?
n

Nir Golan

11/13/2019, 4:34 PM
@Dipali any chance for a gist or something?
d

Dipali

11/14/2019, 5:50 AM
@Nir Golan well, for now I can share custom adapter of Gson
setDateFormat(PATTERN)
method in Moshi way and along with that for
EmptyString
as well. For other Adapter like
ArrayList
and other collection it might take some time as my implementation is in confidential project.
n

Nir Golan

11/14/2019, 6:13 AM
thanks @Dipali