TomTomAndroidTools
api_uicontrols
/
com.tomtom.tools.android.api.uicontrols.utils
/
QuantityIconDrawableResolver
/
QuantityIconDrawableResolver
Quantity
Icon
Drawable
Resolver
fun
QuantityIconDrawableResolver
(
quantity
:
Int
,
@
AttrRes
iconSize
:
Int
,
@
AttrRes
backgroundColor
:
Int
,
@
AttrRes
textAppearance
:
Int
,
@
AttrRes
textColor
:
Int
)
Content copied to clipboard
Parameters
quantity
A quantity in range [0..
QUANTITY_MAX_VALUE
]; value is clamped to those boundaries otherwise.