Google is committed to advancing racial equity for Black communities. See how.

LayoutState

enum class LayoutState
kotlin.Any
   ↳ kotlin.Enum<androidx.ui.core.LayoutNode.LayoutState>
   ↳ androidx.ui.core.LayoutNode.LayoutState

Describes the current state the LayoutNode is in.

Summary

Enum values

Node is currently being laid out.

Node is currently being measured.

Request relayout was called on the node or the node was just measured and is going to layout soon (measure stage is always being followed by the layout stage).

Request remeasure was called on the node.

Node is measured and laid out or not yet attached to the Owner (see LayoutNode.owner).

Enum values

LayingOut

enum val LayingOut : LayoutNode.LayoutState

Node is currently being laid out.

Measuring

enum val Measuring : LayoutNode.LayoutState

Node is currently being measured.

NeedsRelayout

enum val NeedsRelayout : LayoutNode.LayoutState

Request relayout was called on the node or the node was just measured and is going to layout soon (measure stage is always being followed by the layout stage).

NeedsRemeasure

enum val NeedsRemeasure : LayoutNode.LayoutState

Request remeasure was called on the node.

Ready

enum val Ready : LayoutNode.LayoutState

Node is measured and laid out or not yet attached to the Owner (see LayoutNode.owner).