LayoutState
The main role of LayoutState is to hold the output of layout calculation. This includes mountable outputs and visibility outputs. A centerpiece of the class is LithoReducer#setSizeAfterMeasureAndCollectResults(ComponentContext, LithoLayoutContext, LayoutState) which prepares the before-mentioned outputs based on the provided LithoNode for later use in MountState.
Properties
the id of the ComponentTree that generated this LayoutState
Whether or not there are components marked as 'ExcludeFromIncrementalMount'.
Id of this LayoutState.
Return true if this result calculated from a TreeFuture is partial.
Id of the LayoutState that was compared to when calculating this LayoutState.
Gets a mapping from transition ids to a group of LayoutOutput.
Returns the state handler instance currently held by LayoutState.
Functions
Debug-only: return a string representation of this LayoutState and its LayoutOutputs.
Gets a group of LayoutOutput given transition key