Theme Enforcement
Utility methods to check Theme compatibility with components.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun obtainStyledAttributes(@NonNull context: Context, set: AttributeSet, @NonNull @StyleableRes attrs: Array<Int>, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int, @StyleableRes textAppearanceResIndices: Array<Int>): TypedArray
Safely retrieve styled attribute information in this Context's theme, after checking whether the theme is compatible with the component's given style.
Link copied to clipboard
open fun obtainTintedStyledAttributes(@NonNull context: Context, set: AttributeSet, @NonNull @StyleableRes attrs: Array<Int>, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int, @StyleableRes textAppearanceResIndices: Array<Int>): TintTypedArray
Safely retrieve styled attribute information in this Context's theme using , after checking whether the theme is compatible with the component's given style.