-
public class GeneratedCodeConverters
-
-
Field Summary
Fields Modifier and Type Field Description public final static GeneratedCodeConvertersINSTANCE
-
Method Summary
Modifier and Type Method Description final static Converter.FactoryconverterFactory()Creates everything needed for retrofit to make it work with the client lib, including a Moshi instance. final static Converter.FactoryconverterFactory(Moshi moshi)-
-
Method Detail
-
converterFactory
final static Converter.Factory converterFactory()
Creates everything needed for retrofit to make it work with the client lib, including a Moshi instance. If you want to use your own instance of moshi, use converterFactory(moshi) instead, and add XNullableAdapterFactory, KotlinJsonAdapterFactory and TypesAdapterFactory to your moshi builder (in a similar way how we are instantiating the
moshifield here).
-
converterFactory
final static Converter.Factory converterFactory(Moshi moshi)
-
-
-
-