
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