Package 

Object RetrofitServiceCreator

    • Method Summary

      Modifier and Type Method Description
      final <T extends Any> T createService(Class<T> clazz, Retrofit.Builder retrofitBuilder, String url) Creates a Retrofit service for the specified class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createService

         final <T extends Any> T createService(Class<T> clazz, Retrofit.Builder retrofitBuilder, String url)

        Creates a Retrofit service for the specified class.

        Parameters:
        clazz - The class of the service.
        retrofitBuilder - The Retrofit.Builder instance for creating the service.