Skip to content

Changing Pulse Color After Start #38

@samjoshai

Description

@samjoshai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions