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

How to set that colorChangeListener RGB value on Any view. #48

Open
Ekta-jain opened this issue Feb 6, 2023 · 0 comments
Open

How to set that colorChangeListener RGB value on Any view. #48

Ekta-jain opened this issue Feb 6, 2023 · 0 comments

Comments

@Ekta-jain
Copy link

Ekta-jain commented Feb 6, 2023

it.colorWheel.colorChangeListener = { rgb: Int ->
it.segmentOne.setBackgroundColor(rgb) // getting error here
}

Color.Parse("String Needed")
Color.RGB( Red, GREEN, BLUE) three param needed,

I am only getting Integer value someTimes negative or someTimes Positive (-3661825)
Now How TO SHOW THIS VALUE TO BUTTON BG COLOR??.

Please Help.

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