getStringArrayByAttr

fun Context.getStringArrayByAttr(@AttrRes attrRes: Int): Array<String>

Returns the string array that the given attrRes refers to.

Throws

if the given attribute cannot be found.