-
Notifications
You must be signed in to change notification settings - Fork 66
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 add continuous output? #7
Comments
Of course you can. Just create an interface with one method that returns a ColorPicker object. Implement that same interface in your ColorActivity. Than create a method in the ColorPicker class which will let you set the listener. This is how I did it with the MultiColorPicker: MultiColorActivity
Somewhere
MultiColorPicker.java
MultiColor
|
Would be great if an onChange listener could be implemented directly. There doesn't appear to be a direct way to get this to work on Xamarin Android by just using the NuGet package. |
By adding a choreographer I was able to solve this - just get the color every frame and safe it's value somewhere as a workaround. |
Is there a way to modify the color picker so that it continuously outputs a color value as it is changed? Similar to the function onProgressChanged that a seekBar uses.
The text was updated successfully, but these errors were encountered: