How to pause ExoPlayer 2 playback and resume (PlayerControl was removed)
You can use void setPlayWhenReady(boolean playWhenReady). If Exo is ready, passing false will pause the player. Passing true will resume it. You can check the player’s state using getPlaybackState().