• Home
Name Date Size #Lines LOC

..--

src/main/03-May-2024-364235

README.mdD03-May-20241 KiB3220

build.gradleD03-May-20241.6 KiB5042

README.md

1# ExoPlayer Leanback extension #
2
3This [Leanback][] Extension provides a [PlayerAdapter][] implementation for
4ExoPlayer.
5
6[PlayerAdapter]: https://developer.android.com/reference/android/support/v17/leanback/media/PlayerAdapter.html
7[Leanback]: https://developer.android.com/reference/android/support/v17/leanback/package-summary.html
8
9## Getting the extension ##
10
11The easiest way to use the extension is to add it as a gradle dependency:
12
13```gradle
14implementation 'com.google.android.exoplayer:extension-leanback:2.X.X'
15```
16
17where `2.X.X` is the version, which must match the version of the ExoPlayer
18library being used.
19
20Alternatively, you can clone the ExoPlayer repository and depend on the module
21locally. Instructions for doing this can be found in ExoPlayer's
22[top level README][].
23
24[top level README]: https://github.com/google/ExoPlayer/blob/release-v2/README.md
25
26## Links ##
27
28* [Javadoc][]: Classes matching `com.google.android.exoplayer2.ext.leanback.*`
29  belong to this module.
30
31[Javadoc]: https://exoplayer.dev/doc/reference/index.html
32