open static fun <T : Any!> forEachIndexed(@NonNull iterable: MutableIterable<T>, @NonNull fun: BlockWithIndex<T>): Unit
Iterate iterable and apply function on each item.
iterable
- MutableIterable<T>: Iterable
fun
- BlockWithIndex<T>: Function which will be applied which contains also the index of the element.