micro_utils.dokka
0.15.1

# onChildViewAdded

open override fun onChildViewAdded(parent: View, child: View)

Will emit data into onChildViewAdded flow. If recursive is true and child is ViewGroup will also subscribe to child hierarchy changes.

Due to the fact that this method is not suspendable, FlowOnHierarchyChangeListener will use MutableSharedFlow.tryEmit to send data into _onChildViewAdded. That is why its default extraBufferCapacity is Int.MAX_VALUE

val onChildViewAdded: SharedFlow<Pair<View, View>>