childOrNull

@JvmName(name = "childOrNullTyped")
inline fun <V : View> ViewGroup.childOrNull(index: Int): V?

Get the view V by index in its parent view.

Receiver

ViewGroup

Return

V or null.

Parameters

index

the index of the view.

See also


Get the view by index in its parent view.

Receiver

ViewGroup

Return

View or null.

Parameters

index

the index of the view.

See also