State
class State : State
The state of the ConstraintLayout solver.
Summary
Public functions |
|
|---|---|
open Int |
convertDimension(value: Any?)Implements a conversion function for values, returning int. |
Public properties |
|
|---|---|
Density |
|
LayoutDirection |
This property is deprecated. Use #isLtr instead |
Constraints |
Inherited properties |
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public functions
convertDimension
open fun convertDimension(value: Any?): Int
Implements a conversion function for values, returning int. This can be used in case values (e.g. margins) are represented via an object, not directly an int.
| Parameters | |
|---|---|
value: Any? |
the object to convert from |