fun TypedArray.getStringOrThrow(@StyleableRes index: Int): String
Retrieve the string value for the attribute at index or throws IllegalArgumentException if not defined.
See Also
TypedArray.hasValue
TypedArray.getString