In ExoPlayer < 2.x
there was a class PlayerControl
with pause()
and resume()
functions but it was removed. I can't find a way to do this on ExoPlayer 2
.
How can I pause and resume a playback?
question from:https://stackoverflow.com/questions/40555405/how-to-pause-exoplayer-2-playback-and-resume-playercontrol-was-removed