- The app shows currently playing items
- The app allows reordering during the shuffle
- The result of reordering during the shuffle does not affect the song order before the shuffle
- Get currently playing items from MediaControllerCompat.Callback#onQueueChanged
- Customize TimelineQueueEditor, ShuffleOrder
- doesn't call Player#moveMediaItem when reorder during the shuffle
- generate a new
ShuffleOrder
from the sorted result - call ExoPlayer#setShuffleOrder to update the sort order
- When reordering several times while shuffling, the song order may not be reflected in MediaSession
- doesn't call MediaControllerCompat.Callback#onQueueChanged
- Play music
- Enable shuffling
- Reorder playlist items several times
- Wait to seek to next media item
- ExoPlayer:2.17.1
- Test Device:
- Pixel 3(OS 12)
- Pixel 4(OS 11)
- Emulator(OS 10)
Music provided by the Free Music Archive.
- Irsen's Tale by Kai Engel is licensed under CC BY-NC 3.0.