Skip to content

androidx.concurrent:concurrent-listenablefuture-callback

Official Description: Adapter for working with Jetpack ListenableFuture

CommonsWare's Notes

This library contains the same classes as does androidx.concurrent:concurrent-futures.

Quoting Google:

The previously-released androidx.concurrent:concurrent-futures artifact, which provided a similar adapter and included the com.google.guava:listenablefuture artifact, may be problematic for developers using toolchains -- such as Android Gradle Plugin 3.4.0 -- with strict dependency resolution matching. Developers who do not rely on the full Guava library are advised to switch to androidx.concurrent:concurrent-listenablefuture-callback.

So, if you use Guava, use androidx.concurrent:concurrent-futures. If you do not use Guava, use this library.

Documentation

Versions