rememberShuffleButtonState

Functions summary

ShuffleButtonState

Remember the value of ShuffleButtonState created based on the passed Player and launch a coroutine to listen to Player's changes.

Functions

rememberShuffleButtonState

@UnstableApi
@Composable
fun rememberShuffleButtonState(player: Player?): ShuffleButtonState

Remember the value of ShuffleButtonState created based on the passed Player and launch a coroutine to listen to Player's changes. If the Player instance changes between compositions, produce and remember a new value.