public class LithoViewRule extends Object
Constructor and Description |
---|
LithoViewRule() |
public Statement apply(Statement base, Description description)
public ComponentContext getContext()
public LithoView getLithoView()
public LithoViewRule useLithoView(LithoView lithoView)
public ComponentTree getComponentTree()
public LithoViewRule useComponentTree(ComponentTree componentTree)
public LithoViewRule setRoot(Component component)
public LithoViewRule setRoot(Component.Builder builder)
public LithoViewRule setRootAsync(Component component)
public LithoViewRule setRootAsync(Component.Builder builder)
public LithoViewRule setRootAndSizeSpec(Component component, int widthSpec, int heightSpec)
public LithoViewRule setSizePx(int widthPx, int heightPx)
public LithoViewRule setSizeSpecs(int widthSpec, int heightSpec)
public LithoViewRule measure()
public LithoViewRule layout()
public LithoViewRule attachToWindow()
public LithoViewRule detachFromWindow()
public LithoViewRule release()
public int getWidthSpec()
public int getHeightSpec()
public View findViewWithTag(Object tag)
protected LayoutState getCommittedLayoutState()
protected InternalNode getCurrentRootNode()