
TrackSelectionView requires an initialization with a call to init(...). That's why we shouldn't let the view retain its view hierarchy automatically as the views won't be backed by data if restored. Instead add a listener which lets the containing activity/fragment save and restore the state if needed. PiperOrigin-RevId: 234152491
ExoPlayer demos
This directory contains applications that demonstrate how to use ExoPlayer. Browse the individual demos and their READMEs to learn more.