public static class IncrementalMountRenderCoreExtension.Visitor extends java.lang.Object implements LayoutResultVisitor<IncrementalMountRenderCoreExtension.Results>
| Constructor and Description |
|---|
Visitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(RenderTreeNode parent,
LayoutResult result,
Rect bounds,
int x,
int y,
int position,
IncrementalMountRenderCoreExtension.Results results)
This API is called for every LayoutResult during a layout pass.
|
public void visit(RenderTreeNode parent, LayoutResult result, Rect bounds, int x, int y, int position, IncrementalMountRenderCoreExtension.Results results)
LayoutResultVisitorvisit in interface LayoutResultVisitor<IncrementalMountRenderCoreExtension.Results>parent - The parent RenderTreeNode.result - The LayoutResult being visited.bounds - The bounds of this LayoutResult relative to its parent.x - The absolute x position.y - The absolute y position.position - The position of the layout result.results - The state the visitor can write to.