接口 ResponseDelivery

所有已知实现类:
ExecutorDelivery

public interface ResponseDelivery
  • 方法详细资料

    • postResponse

      void postResponse(Request<?> request, Response<?> response)
      Parses a response from the network or cache and delivers it.
    • postResponse

      void postResponse(Request<?> request, Response<?> response, Runnable runnable)
      Parses a response from the network or cache and delivers it. The provided Runnable will be executed after delivery.
    • postError

      void postError(Request<?> request, VolleyError error)
      Posts an error for the given request.