LithoLayoutData

class LithoLayoutData(val width: Int, val height: Int, val currentLayoutStateId: Int, val previousLayoutStateId: Int, val expandedTouchBounds: Rect?, val layoutData: Any?, val isSizeDependant: Boolean, val debugHierarchy: DebugHierarchy.Node?) : Equivalence<LithoLayoutData>

This object will host the data associated with the component which is generated during the measure pass, for example: the InterStagePropsContainer, and the UpdateState. It will be created in LayoutResult#calculateLayout(LayoutContext, int, int). This object will be returned by LayoutResult#getLayoutData(), then written to the layout data in RenderTreeNode during reduce.

Constructors

Link copied to clipboard
constructor(width: Int, height: Int, currentLayoutStateId: Int, previousLayoutStateId: Int, expandedTouchBounds: Rect?, layoutData: Any?, isSizeDependant: Boolean, debugHierarchy: DebugHierarchy.Node?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun isEquivalentTo(other: LithoLayoutData): Boolean