I am creating a music player using exoplayer library. Everything works fine except the shuffle that is no behaving as I expect.
The problem that I have is the following:
Imagine that I have 5 songs:
song 1
song 2
song 3
song 4
song 5
and I am in the first one. Then I click on shuffle button and enable shuffled using exoPlayer.shuffleModeEnabled = true
. Then now the order is the following:
song 4
song 2
song 5
song 1
song 3
As I was in song 1, after that it will go to song 3 and then it will finish without reproducing song 4, 2 and 5. The behavior that I spec is to reproduce all the songs in a random order. Is there any way to achieve that with exoplayer?