Package pl.grizzlysoftware.util
Class RetrofitApiService
- java.lang.Object
-
- pl.grizzlysoftware.util.RetrofitApiService
-
- Direct Known Subclasses:
DotykackaApiService
public class RetrofitApiService extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected RetrofitCallExecutorexecutor
-
Constructor Summary
Constructors Constructor Description RetrofitApiService()RetrofitApiService(RetrofitCallExecutor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> Texecute(retrofit2.Call<T> call)voidsetCallExecutionListener(OnRetrofitCallExecutionListener callExecutionListener)
-
-
-
Field Detail
-
executor
protected RetrofitCallExecutor executor
-
-
Constructor Detail
-
RetrofitApiService
public RetrofitApiService(RetrofitCallExecutor executor)
-
RetrofitApiService
public RetrofitApiService()
-
-
Method Detail
-
execute
protected <T> T execute(retrofit2.Call<T> call)
-
setCallExecutionListener
public void setCallExecutionListener(OnRetrofitCallExecutionListener callExecutionListener)
-
-