apply To Context If Available
open fun applyToContextIfAvailable(@NonNull context: Context, @NonNull options: HarmonizedColorsOptions)
Harmonizes the specified color resources, attributes, and theme overlay in the provided.
If harmonization is not available, provided color resources and attributes in will not be harmonized.
Parameters
context
The target context.
options
The HarmonizedColorsOptions object that specifies the resource ids, color attributes to be harmonized and the color attribute to harmonize with.