
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
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.
Links
- Developer Guide.
- Javadoc: Classes matching
com.google.android.exoplayer2.ui.*
belong to this module.