1*30877f79SAndroid Build Coastguard Worker# Leanback UI module
2*30877f79SAndroid Build Coastguard Worker
3*30877f79SAndroid Build Coastguard WorkerThis module provides a [PlayerAdapter][] wrapper for `Player`, making it
4*30877f79SAndroid Build Coastguard Workerpossible to connect `Player` implementations such as `ExoPlayer` to the playback
5*30877f79SAndroid Build Coastguard Workerwidgets provided by `androidx.leanback:leanback`.
6*30877f79SAndroid Build Coastguard Worker
7*30877f79SAndroid Build Coastguard Worker[PlayerAdapter]: https://developer.android.com/reference/android/support/v17/leanback/media/PlayerAdapter.html
8*30877f79SAndroid Build Coastguard Worker[Leanback]: https://developer.android.com/reference/android/support/v17/leanback/package-summary.html
9*30877f79SAndroid Build Coastguard Worker
10*30877f79SAndroid Build Coastguard Worker## Getting the module
11*30877f79SAndroid Build Coastguard Worker
12*30877f79SAndroid Build Coastguard WorkerThe easiest way to get the module is to add it as a gradle dependency:
13*30877f79SAndroid Build Coastguard Worker
14*30877f79SAndroid Build Coastguard Worker```gradle
15*30877f79SAndroid Build Coastguard Workerimplementation 'com.google.android.exoplayer:extension-leanback:2.X.X'
16*30877f79SAndroid Build Coastguard Worker```
17*30877f79SAndroid Build Coastguard Worker
18*30877f79SAndroid Build Coastguard Workerwhere `2.X.X` is the version, which must match the version of the other media
19*30877f79SAndroid Build Coastguard Workermodules being used.
20*30877f79SAndroid Build Coastguard Worker
21*30877f79SAndroid Build Coastguard WorkerAlternatively, you can clone this GitHub project and depend on the module
22*30877f79SAndroid Build Coastguard Workerlocally. Instructions for doing this can be found in the [top level README][].
23*30877f79SAndroid Build Coastguard Worker
24*30877f79SAndroid Build Coastguard Worker[top level README]: https://github.com/google/ExoPlayer/blob/release-v2/README.md
25*30877f79SAndroid Build Coastguard Worker
26*30877f79SAndroid Build Coastguard Worker## Links
27*30877f79SAndroid Build Coastguard Worker
28*30877f79SAndroid Build Coastguard Worker* [Javadoc][]
29*30877f79SAndroid Build Coastguard Worker
30*30877f79SAndroid Build Coastguard Worker[Javadoc]: https://exoplayer.dev/doc/reference/index.html
31