AdvancedAndroid_ClassicalMusicQuiz
AdvancedAndroid_ClassicalMusicQuiz copied to clipboard
TMED.02-Exercise-CustomizeLayout
In this exercise, we are linked to the documentation for exo_playback_control_view.xml. The documentation shows the playback controls using DefaultTimeBar. If we put this layout element into our application, the app crashes.
This happens because the exercise is using ExoPlayer 2.2 which used a SeekBar, not used in the current release. At ExoPlayer 2.4, the SeekBar was replaced with a DefaultTimeBar.
Perhaps, we should update the version of ExoPlayer to be one of the ones after this change so students can use the documentation to create a custom playback control without experiencing these crashes that are due to changes between versions?