Package 

Object GeneratedCodeConverters

    • Method Summary

      Modifier and Type Method Description
      final static Converter.Factory converterFactory() Creates everything needed for retrofit to make it work with the client lib, including a Moshi instance.
      final static Converter.Factory converterFactory(Moshi moshi)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 moshi field here).

      • converterFactory

         final static Converter.Factory converterFactory(Moshi moshi)