MeasuredResultCache
Read & write layout result cache used during render phase for caching measured results that happen during component-measure. This cache can be accessed via components or litho-nodes.
Functions
Add a cached result to the cache.
Cleares the cache generated for the given component.
Cleares the cache generated for the given component ID.
Marks this cache as frozen, meaning it is illegal to write new values into it, and should be used as read-only. Attempting to write to a frozen cache will produce an illegal state exception.
Returns the cached LithoNode from a given component.
Returns the cached LithoNode from a given component ID.
Returns the cached layout result for the given component, or null if it does not exist.
Returns the cached layout result for the given node, or null if it does not exist.
Returns the cached layout result for the given component ID, or null if it does not exist.
Return true if there exists a cached layout result for the given component.
Return true if there exists a cached layout result for the given LithoNode.
Return true if there exists a cached layout result for the given component ID.
Remove the cached layout result for the given Node.