Skip to content

Add getter for ShuffleOrder#2522

Merged
copybara-service[bot] merged 2 commits intoandroidx:mainfrom
nift4:getshuffle
Jul 11, 2025
Merged

Add getter for ShuffleOrder#2522
copybara-service[bot] merged 2 commits intoandroidx:mainfrom
nift4:getshuffle

Conversation

@nift4
Copy link
Copy Markdown
Contributor

@nift4 nift4 commented Jun 10, 2025

When implementing playback resumption, I want to save/restore shuffle order as well. But I can't just use the last shuffle order I set as the shuffle order changes with every playlist change. Add a getter for shuffle order.

@nift4
Copy link
Copy Markdown
Contributor Author

nift4 commented Jul 9, 2025

Hi @marcbaechinger, can you please take a look at this fairily simple PR? Thank you :)

@marcbaechinger
Copy link
Copy Markdown
Contributor

I'm going to send this for internal review now. You may see some more commits being added as I make changes in response to review feedback. Please refrain from pushing any more substantive changes as it will complicate the internal review - thanks!

@copybara-service copybara-service bot merged commit af6fa9e into androidx:main Jul 11, 2025
1 check passed
@nift4 nift4 deleted the getshuffle branch July 11, 2025 14:07
@nift4
Copy link
Copy Markdown
Contributor Author

nift4 commented Jul 11, 2025

Thank you!

icbaker pushed a commit that referenced this pull request Jul 24, 2025
PiperOrigin-RevId: 781950733
(cherry picked from commit af6fa9e)
@androidx androidx locked and limited conversation to collaborators Sep 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

2 participants