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

State

class State : SolverState
androidx.ui.layout.State

The state of the ConstraintLayout solver.

Summary

Public constructors
<init>(density: Density)

The state of the ConstraintLayout solver.

Public methods
Int

Unit

Properties
Density

lateinit LayoutDirection

lateinit Constraints

Public constructors

<init>

State(density: Density)

The state of the ConstraintLayout solver.

Public methods

convertDimension

fun convertDimension(value: Any?): Int

reset

fun reset(): Unit

Properties

density

val density: Density

layoutDirection

lateinit var layoutDirection: LayoutDirection

rootIncomingConstraints

lateinit var rootIncomingConstraints: Constraints