View Tree Renderer
Transactional renderer that reconciles immutable VNodes into one Android ViewGroup.
Calls are UI-thread confined. The caller owns the host and must pass the exact mounted-node list returned by its previous successful render. Structural and binding mutations are rolled back when preparation fails; deferred lifecycle callbacks run only after the new View tree commits.
Functions
Link copied to clipboard
fun disposeMounted(container: ViewGroup, mountedNodes: List<MountedNode>): List<RenderTreeCommitFailure>
Disposes mounted subtrees and removes their root Views from container.
Link copied to clipboard
fun renderInto(container: ViewGroup, previous: List<MountedNode>, nodes: List<VNode>, collectDiagnostics: Boolean = true, onReconcile: (RenderTreeResult) -> Unit? = null): RenderTreeResult
Link copied to clipboard
Clears process-local warning de-duplication state used by renderer tests.