Updated on 2026-08-14

This commit is contained in:
Tangem 2022-10-23 00:51:16 +05:00
parent b8e40c6e73
commit 342f3e4152
25 changed files with 333 additions and 147 deletions

View file

@ -0,0 +1,11 @@
package com.tangem.tap.common.extensions
import android.widget.ImageView
import androidx.annotation.DrawableRes
/**
[REDACTED_AUTHOR]
*/
fun ImageView.setDrawable(@DrawableRes resId: Int) {
setImageDrawable(context.getDrawableCompat(resId))
}