QuantityIconDrawableResolver
data class QuantityIconDrawableResolver(quantity: Int, @AttrRes iconSize: Int, @AttrRes backgroundColor: Int, @AttrRes textAppearance: Int, @AttrRes textColor: Int) : DrawableResolver
Content copied to clipboard
A drawable resolver that creates an icon filled with a background color and a quantity value with a density based on context used to resolve the icon.
Parameters
quantity
A quantity in range [0..QUANTITY_MAX_VALUE]; value is clamped to those boundaries otherwise.