We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
inline var View.background_color: String get() { return "" } set(value) { setBackgroundColor(Color.parseColor(value)) } background_color = "#eeeeee" as左侧没有颜色值显示 改成这样 as在左侧能看到是啥颜色 inline var View.background_color: Int get() { return 0 } set(value) { setBackgroundColor(ContextCompat.getColor(this.context,value)) } background_color = R.color.colorAccent
The text was updated successfully, but these errors were encountered:
nice!
Sorry, something went wrong.
No branches or pull requests
inline var View.background_color: String
get() {
return ""
}
set(value) {
setBackgroundColor(Color.parseColor(value))
}
background_color = "#eeeeee" as左侧没有颜色值显示
改成这样 as在左侧能看到是啥颜色
inline var View.background_color: Int
get() {
return 0
}
set(value) {
setBackgroundColor(ContextCompat.getColor(this.context,value))
}
background_color = R.color.colorAccent
The text was updated successfully, but these errors were encountered: