You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tjvantoll - does it work with hex colors or if you use the color module like new color.Color("#3489db").android;? I didn't go digging in the source but wonder if the animation api doesn't have access the the "known colors" by name. Just a guess 👍
So now I’m curious why passing a plain color works on iOS but not on Android. It seems like they should be consistent. Also, we should probably consider adding a nicer error message when the user does pass in bad data. Error: java.lang.NumberFormatException: Invalid int: "null" didn’t really point me in the right direction.
Activity
bradmartin commentedon Mar 16, 2016
@tjvantoll - does it work with hex colors or if you use the
colormodule likenew color.Color("#3489db").android;? I didn't go digging in the source but wonder if the animation api doesn't have access the the "known colors" by name. Just a guess 👍tjvantoll commentedon Mar 16, 2016
Good catch @bradmartin! Using the
Colorclass does work, and that’s actually what the docs show.So now I’m curious why passing a plain color works on iOS but not on Android. It seems like they should be consistent. Also, we should probably consider adding a nicer error message when the user does pass in bad data.
Error: java.lang.NumberFormatException: Invalid int: "null"didn’t really point me in the right direction.lock commentedon Aug 30, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.