84d812a6d6
Refactoring Separation into libraries
13 lines
254 B
Kotlin
13 lines
254 B
Kotlin
package com.meloda.extensions
|
|
|
|
import android.graphics.drawable.Drawable
|
|
import androidx.annotation.ColorInt
|
|
|
|
object DrawableExtensions {
|
|
|
|
fun Drawable?.tint(@ColorInt color: Int): Drawable? {
|
|
this?.setTint(color)
|
|
return this
|
|
}
|
|
|
|
} |