Class LibraryModule



  • public class LibraryModule
    extends java.lang.Object
    Module for holding instances of third party libraries, configured for the recent ApplicationScope
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Gson getGson()
      Gets an instance of Gson
      OkHttpClient getOkHttpClient()
      Gets an instance of OkHttpClient
      • Methods inherited from class java.lang.Object

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

      • getOkHttpClient

        public OkHttpClient getOkHttpClient()
        Gets an instance of OkHttpClient
        Returns:
        an OkHttpClient
      • getGson

        public Gson getGson()
        Gets an instance of Gson
        Returns:
        a Gson instance