Skip to content

Conversation

@amartinz
Copy link

@amartinz amartinz commented May 4, 2016

Annotate some methods, to help to prevent passing in invalid values, eg resource ids instead of the resolved color.

add color methods, which take resource ids as parameters.

compare color with Integer.MIN as 0 is a valid color.

amartinz added 2 commits May 4, 2016 12:51
…eter

Change-Id: I3a1f1788d8304644c1a790ab70bf480350756a2a
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
 * 0 is a valid color (Color.TRANSPARENT) so it might override the selected color
   with the default one
 * compare with Integer.MIN instead

Change-Id: I62a250b7be7bcc38c72b9406ddbab62e90daf593
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
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

Successfully merging this pull request may close these issues.

1 participant