ComponentTreeHolderPreparerWithSizeImpl

Constructors

Link copied to clipboard
constructor(componentContext: ComponentContext, widthSpec: Int, heightSpec: Int)

Functions

Link copied to clipboard
open override fun create(renderInfo: ComponentRenderInfo): ComponentTreeHolder

Create a ComponentTreeHolder instance from an existing render info which will be used as an item in the underlying adapter of the RecyclerBinder

Link copied to clipboard
open override fun prepareAsync(holder: ComponentTreeHolder)

Triggers an asynchronous layout calculation for the ComponentTree held by the provided ComponentTreeHolder.

Link copied to clipboard
open override fun prepareSync(holder: ComponentTreeHolder, size: Size?)

Triggers a synchronous layout calculation for the ComponentTree held by the provided ComponentTreeHolder.