mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08:00

TGP: https://fusion2.corp.google.com/presubmit/tap/459592967/OCL:459592967:BASE:464692555:1659412331108:1ed6eb4e/targets If you need additional help investigating this issue, please consider using g/androidx-discuss to reach the wider Jetpack library owner and client community. For general questions about prebuilt drops, refer to go/androidx/g3_faq PiperOrigin-RevId: 464852576 (cherry picked from commit a3de13c9a936691113325977924afe242dcbba31)
Leanback UI module
This module provides a PlayerAdapter wrapper for Player
, making it
possible to connect Player
implementations such as ExoPlayer
to the playback
widgets provided by androidx.leanback:leanback
.
Getting the module
The easiest way to get the module is to add it as a gradle dependency:
implementation 'com.google.android.exoplayer:extension-leanback:2.X.X'
where 2.X.X
is the version, which must match the version of the other media
modules being used.
Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.