Skip to content


Official Description: Androidx implementation of Guava's ListenableFuture

CommonsWare's Notes

This artifact contains a few utility classes related to concurrent programming, including:

  • CallbackToFutureAdapter, which helps you map a callback-based API into one that returns a Future, as a more reactive option

  • DirectExecutor, an Executor implementation that executes the supplied code directly on the current thread (useful for testing)

However, it may be that androidx.concurrent:concurrent-listenablefuture-callback is the better artifact for you to use. It has the same classes, but with fewer Guava dependencies.