Companion
object Companion
Functions
Link copied to clipboard
fun dfs(node: ViewHierarchyTreeNode, condition: (ViewHierarchyTreeNode) -> Boolean): ViewHierarchyTreeNode?
Search the tree for a node that matches the condition.
Link copied to clipboard
Relabels the tree with new nodeIds using a shared atomic incrementer. Returns a new tree with the same structure and data, but fresh nodeIds.