mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00

In all these cases I found at least one public method that takes or returns a type from the dependency, or a type that inherits from a type defined in the dependency. PiperOrigin-RevId: 726130595
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 'androidx.media3:media3-ui-leanback:1.X.X'
where 1.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.