resolveBooleanOrThrow

open fun resolveBooleanOrThrow(@NonNull context: Context, @AttrRes attributeResId: Int, @NonNull errorMessageComponent: String): Boolean

Returns the boolean value for the provided attributeResId.

Throws

if the attribute is not present in the current theme.