addCachedResult

fun addCachedResult(component: Component, node: LithoNode, layoutResult: LithoLayoutResult)

Add a cached result to the cache.

Parameters

component

The component from which the result was generated

node

The node generated from the component

layoutResult

The layout result


fun addCachedResult(componentId: Int, node: LithoNode, layoutResult: LithoLayoutResult)

Add a cached result to the cache.

Parameters

componentId

The component ID from which the result was generated

node

The node generated from the component

layoutResult

The layout result