get Color Resource

fun getColorResource(@ColorRes id: Int): Int

Method to get Color from resource

Return

desired color

Parameters

id

Color Id

Sources

Link copied to clipboard