#2180·retrofit

Retrofit 4.x Things

Author: JakeWhartonCreated Jan 30, 2017Updated Sep 29, 2026

Currently no plans for a Retrofit 3.x. Just tracking changes in a single issue instead of many.

  • Mock behavior should invoke the implementation method for each Call.execute() / Call.enqueue(). Currently it only invokes it once and reuses the result for every cloned Call.
  • Eliminate Retrofit-wide knowledge of callback executor. This should be at best a first-party CallAdapter.Factory which you can apply (if you want) and which can target all calls or just those annotated with something like @MainThread.