Package org.neshan.common.network
Class RetrofitClientInstance
- java.lang.Object
-
- org.neshan.common.network.RetrofitClientInstance
-
public class RetrofitClientInstance extends java.lang.Object
Generates Retrofit instance with "api.neshan.org" base url. to prevent multiple Retrofit instances by different SDKs it just creates instance in first call- See Also:
- Retrofit project
-
-
Constructor Summary
Constructors Constructor Description RetrofitClientInstance()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static retrofit2.Retrofit
getRetrofitInstance()
return Retrofit instance if existing or generates one
-