get Index With Value
open fun getIndexWithValue(@NonNull attributes: TypedArray, @StyleableRes a: Int, @StyleableRes b: Int): Int
Returns the @StyleableRes index that contains value in the attributes array. If both indices contain values, the first given index takes precedence and is returned.