forEachIndexed

inline fun ObservableFloatArray.forEachIndexed(action: (index: Int, Float) -> Unit)
inline fun ObservableIntegerArray.forEachIndexed(action: (index: Int, Int) -> Unit)

Performs the given action on each element, providing sequential index with the element.

See also