-
public interface Callback<ResponseType>
-
-
Method Summary
Modifier and Type Method Description abstract voidonResponse(@NonNull() Call<ResponseType> call, @NonNull() Response<ResponseType> response)Called when api request was executed and we have HTTP response from remote server abstract voidonFailure(@NonNull() Call<ResponseType> call, @NonNull() Throwable error)Called in case of fail -
-
Method Detail
-
onResponse
abstract void onResponse(@NonNull() Call<ResponseType> call, @NonNull() Response<ResponseType> response)
Called when api request was executed and we have HTTP response from remote server
-
-
-
-