TomTomAndroidTools
api_resourceresolution
/
com.tomtom.tools.android.api.resourceresolution
/
getIntegerByAttr
get
Integer
By
Attr
fun
Context
.
getIntegerByAttr
(
@
AttrRes
attrRes
:
Int
)
:
Int
Returns the integer value that the given
attrRes
refers to.
Throws
Illegal
Argument
Exception
if the given attribute cannot be found.