Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SeekBar Progress #15

Open
Nivetha-Sparkout opened this issue Dec 5, 2020 · 1 comment
Open

SeekBar Progress #15

Nivetha-Sparkout opened this issue Dec 5, 2020 · 1 comment

Comments

@Nivetha-Sparkout
Copy link

It is not an issue all ok but want seekbar progress for every songs is it possible. I try currenplayback position but not working . Kindly help me out this. ThankYou.

@joelarmah
Copy link

joelarmah commented Oct 13, 2022

Get the position from RxMusicPlayer.position and update the seekbar's progress

Example in your PlayerActivity subscribe to RxMusicPlayer.position and update the seekbar

RxMusicPlayer.position.subscribe {
     seekBar.progress = it.toInt()/1000
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants