NestedLithoTree

The NestedLithoTree should be used to render Litho components in a container, say a Primitive like a ScrollView or when embedded Litho hierarchies in other RC framework hierarchies.

The NestedLithoTree lets the client to manually request resolutions, and layouts. It also lets the client intercept state updates so that updates can be synchronised with their render lifecycle.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun layout(result: ResolveResult, sizeConstraints: SizeConstraints, current: LayoutState?): LayoutState
Link copied to clipboard
fun resolve(id: Int, context: ComponentContext, root: Component, treeProps: TreePropContainer?, state: TreeState, current: ResolveResult?): ResolveResult
Link copied to clipboard