android get color code example
Example: how to change resource color to int color in android
val color = ContextCompat.getColor(
closestView.context,
R.color.name.color
)
val color = ContextCompat.getColor(
closestView.context,
R.color.name.color
)