7 lines
256 B
Kotlin
7 lines
256 B
Kotlin
|
package com.adlerosn.brasilfurfest.helper
|
||
|
|
||
|
import android.content.Context
|
||
|
import android.support.annotation.ColorRes
|
||
|
import android.support.v4.content.ContextCompat
|
||
|
|
||
|
fun Context.getColorCompat(@ColorRes colorId: Int) = ContextCompat.getColor(this, colorId)
|