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

Changing Pulse Color After Start #38

Open
samjoshai opened this issue Sep 5, 2024 · 0 comments
Open

Changing Pulse Color After Start #38

samjoshai opened this issue Sep 5, 2024 · 0 comments

Comments

@samjoshai
Copy link

samjoshai commented Sep 5, 2024

Hello,

After starting a pulse, the color cannot be changed again.

Sample pseudo code:

binding.pulsator.color = ContextCompat.getColor(requireContext(), R.color.red)
binding.pulsator.start()
// arbitrary delay here
binding.pulsator.stop()
binding.pulsator.color = ContextCompat.getColor(requireContext(), R.color.green)
binding.pulsator.start()

Performing this action will successfully start and stop the pulse, but it will remain red. Is this a bug or is there another way to accomplish this?

Thank you,
Sam

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

1 participant