public class ComponentWarmer.ComponentTreeHolderPreparerWithSizeImpl extends Object implements ComponentWarmer.ComponentTreeHolderPreparer
Constructor and Description |
---|
ComponentTreeHolderPreparerWithSizeImpl(ComponentContext c,
int widthSpec,
int heightSpec) |
Modifier and Type | Method and Description |
---|---|
ComponentTreeHolder |
create(ComponentRenderInfo renderInfo)
Create a ComponentTreeHolder instance from an existing render info which will be used as an
item in the underlying adapter of the RecyclerBinder
|
void |
prepareAsync(ComponentTreeHolder holder)
Triggers an asynchronous layout calculation for the ComponentTree held by the provided
ComponentTreeHolder.
|
void |
prepareSync(ComponentTreeHolder holder,
Size size)
Triggers a synchronous layout calculation for the ComponentTree held by the provided
ComponentTreeHolder.
|
public ComponentTreeHolderPreparerWithSizeImpl(ComponentContext c, int widthSpec, int heightSpec)
public ComponentTreeHolder create(ComponentRenderInfo renderInfo)
ComponentWarmer.ComponentTreeHolderPreparer
create
in interface ComponentWarmer.ComponentTreeHolderPreparer
public void prepareSync(ComponentTreeHolder holder, Size size)
ComponentWarmer.ComponentTreeHolderPreparer
prepareSync
in interface ComponentWarmer.ComponentTreeHolderPreparer
public void prepareAsync(ComponentTreeHolder holder)
ComponentWarmer.ComponentTreeHolderPreparer
prepareAsync
in interface ComponentWarmer.ComponentTreeHolderPreparer