Package 

Interface Callback


  • 
    public interface Callback<ResponseType>
    
                        
    • Method Summary

      Modifier and Type Method Description
      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
      abstract void onFailure(@NonNull() Call<ResponseType> call, @NonNull() Throwable error) Called in case of fail
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait