createNestedComponentTree
fun createNestedComponentTree(parentContext: ComponentContext, component: Component?): ComponentTree.Builder
Creates a ComponentTree nested inside the ComponentTree of the provided parentContext. If the parent ComponentTree is subscribed to a LithoVisibilityEventsController, the nested ComponentTree will also subscribe to a SimpleNestedTreeVisibilityEventsController hooked with the parent's visibility events controller.
Return
builder for a nested ComponentTree.
Parameters
parentContext
context associated with the parent ComponentTree.
component
root of the new nested ComponentTree.