public static class TestComponentTree.Builder extends ComponentTree.Builder
Modifier and Type | Method and Description |
---|---|
TestComponentTree |
build()
Builds a
ComponentTree using the parameters specified in this builder. |
TestComponentTree.Builder |
incrementalMount(boolean isEnabled)
Whether or not to enable the incremental mount optimization.
|
TestComponentTree.Builder |
layoutDiffing(boolean enabled)
Whether or not to enable layout tree diffing.
|
TestComponentTree.Builder |
layoutLock(Object layoutLock)
Specify a lock to be acquired during layout.
|
TestComponentTree.Builder |
layoutThreadLooper(Looper looper)
Specify the looper to use for running layouts on.
|
asyncStateUpdates, canCacheDrawingDisplayLists, canPrefetchDisplayLists, hasMounted, init, layoutThreadHandler, measureListener, overrideComponentTreeId, preAllocateMountContentHandler, preallocateOnDefaultHandler, previousRenderState, release, shouldClipChildren, shouldPreallocateMountContentPerMountSpec, stateHandler
public TestComponentTree.Builder incrementalMount(boolean isEnabled)
ComponentTree.Builder
incrementalMount
in class ComponentTree.Builder
public TestComponentTree.Builder layoutDiffing(boolean enabled)
ComponentTree.Builder
layoutDiffing
in class ComponentTree.Builder
public TestComponentTree.Builder layoutThreadLooper(Looper looper)
ComponentTree.Builder
layoutThreadLooper
in class ComponentTree.Builder
public TestComponentTree.Builder layoutLock(Object layoutLock)
ComponentTree.Builder
layoutLock
in class ComponentTree.Builder
public TestComponentTree build()
ComponentTree.Builder
ComponentTree
using the parameters specified in this builder.build
in class ComponentTree.Builder