Skip to content
DeaDshot14 edited this page Mar 10, 2020 · 1 revision

library / com.andruid.magic.eezetensions / android.content.Context / color

color

fun Context.color(@ColorRes color: Int): Int

Extension function to load color from resource

Parameters

color - id of the color resource

Return color from color resource

Receiver context of the calling component

Clone this wiki locally