buildTree

fun buildTree(rootView: View, startFromContent: Boolean = false): ApiUiNode

Builds a ViewUiElement tree from the given root view

Return

UiNode representing the root of the tree

Parameters

rootView

the root view to start building from

startFromContent

if true, searches for View with R.id.content and starts from it