getChildIndex

fun getChildIndex(view: View): Int

Retrieves the index of a given child View.