Issue
I'm new to Android Studio and ExoPlayer I started the player to play videos but I don't know to detect if the player is buffering and show a progress bar to notify the user, any help please?
Solution
You should implement ExoPlayer.EventListener
and override onPlayerStateChanged()
to detect state of playing video progress (STATE_IDLE, STATE_BUFFERING, STATE_READY, STATE_ENDED)
Answered By - Louis Nguyen