Package com.zendesk.sdk.util
Class LibraryInjector
- java.lang.Object
-
- com.zendesk.sdk.util.LibraryInjector
-
public class LibraryInjector extends java.lang.Object
Glue code for injecting instances of third party libraries likeGson
-
-
Constructor Summary
Constructors Constructor and Description LibraryInjector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static Gson
injectCachedGson(ApplicationScope applicationScope)
static Gson
injectGson(ApplicationScope applicationScope)
static OkHttpClient
injectOkHttpClient(ApplicationScope applicationScope)
-
-
-
Method Detail
-
injectCachedGson
public static Gson injectCachedGson(ApplicationScope applicationScope)
-
injectGson
public static Gson injectGson(ApplicationScope applicationScope)
-
injectOkHttpClient
public static OkHttpClient injectOkHttpClient(ApplicationScope applicationScope)
-
-