I searched two days for this question in github but i can\'t find true answer . I want example for detecting pause / resume in ExoPlayer > 2.x . An
pause / resume
ExoPlayer > 2.x
You can use exoplayer.getPlayWhenReady() to check whether the player is currently in a pause state or playing state.
exoplayer.getPlayWhenReady()