media/library/ui
krocard 3b8eba2dea Refactor initTrackSelectionAdapter
As suggested in parent change, return a list of
`TrackType` instead of appending to it.

This has the slight disadvantage of iterating twice
over the (short) list, but clarifies the code.

PiperOrigin-RevId: 402844458
2021-10-14 11:58:53 +01:00
..
src Refactor initTrackSelectionAdapter 2021-10-14 11:58:53 +01:00
build.gradle Switch to an 'api' dependency on Guava 2020-10-17 01:34:15 +01:00
proguard-rules.txt Access ExoPlayer specific UI components via reflection 2021-05-04 11:18:07 +01:00
README.md README updates for MediaSource, DataSource and UI modules 2021-10-09 18:21:54 +01:00

UI module

Provides UI components for media playback.

Getting the module

The easiest way to use the module is to add it as a gradle dependency:

implementation 'com.google.android.exoplayer:exoplayer-ui: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.