Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/main/ | H | 25-Apr-2025 | - | 330 | 217 | |
README.md | H A D | 25-Apr-2025 | 1 KiB | 31 | 19 | |
build.gradle | H A D | 25-Apr-2025 | 1.2 KiB | 35 | 30 |
README.md
1# Leanback UI module 2 3This module provides a [PlayerAdapter][] wrapper for `Player`, making it 4possible to connect `Player` implementations such as `ExoPlayer` to the playback 5widgets provided by `androidx.leanback:leanback`. 6 7[PlayerAdapter]: https://developer.android.com/reference/android/support/v17/leanback/media/PlayerAdapter.html 8[Leanback]: https://developer.android.com/reference/android/support/v17/leanback/package-summary.html 9 10## Getting the module 11 12The easiest way to get the module is to add it as a gradle dependency: 13 14```gradle 15implementation 'com.google.android.exoplayer:extension-leanback:2.X.X' 16``` 17 18where `2.X.X` is the version, which must match the version of the other media 19modules being used. 20 21Alternatively, you can clone this GitHub project and depend on the module 22locally. Instructions for doing this can be found in the [top level README][]. 23 24[top level README]: https://github.com/google/ExoPlayer/blob/release-v2/README.md 25 26## Links 27 28* [Javadoc][] 29 30[Javadoc]: https://exoplayer.dev/doc/reference/index.html 31