media/extensions/workmanager
ibaker 1f125425a8 Add Guava dep to exo-workmanager module
This fixes the "cannot access ListenableFuture" build error, even though
it seems on the surface like we shouldn't need a Guava dependency here.

There's more info about what's going on here:
https://blog.gradle.org/guava

PiperOrigin-RevId: 312712991
2020-05-27 18:59:31 +01:00
..
src/main Replace most usages of @TargetApi with @RequiresApi 2020-02-03 11:21:21 +00:00
build.gradle Add Guava dep to exo-workmanager module 2020-05-27 18:59:31 +01:00
README.md Merge pull request #5617 from loki666:workmanager 2019-05-20 15:12:57 +01:00

ExoPlayer WorkManager extension

This extension provides a Scheduler implementation which uses WorkManager.

Getting the extension

The easiest way to use the extension is to add it as a gradle dependency:

implementation 'com.google.android.exoplayer:extension-workmanager:2.X.X'

where 2.X.X is the version, which must match the version of the ExoPlayer library being used.

Alternatively, you can clone the ExoPlayer repository and depend on the module locally. Instructions for doing this can be found in ExoPlayer's top level README.