ConstraintLayoutStates


class ConstraintLayoutStates


Summary

Constants

const String!
TAG = "ConstraintLayoutStates"

Public functions

Boolean
needsToChange(id: Int, width: Float, height: Float)

Return true if it needs to change

Unit
setOnConstraintsChanged(
    constraintsChangedListener: ConstraintsChangedListener!
)
Unit
updateConstraints(id: Int, width: Float, height: Float)

updateConstraints for the view with the id and width and height

Constants

TAG

Added in 2.2.0
const val TAG = "ConstraintLayoutStates": String!

Public functions

needsToChange

Added in 2.2.0
fun needsToChange(id: Int, width: Float, height: Float): Boolean

Return true if it needs to change

Parameters
id: Int
width: Float
height: Float
Returns
Boolean

setOnConstraintsChanged

Added in 2.2.0
fun setOnConstraintsChanged(
    constraintsChangedListener: ConstraintsChangedListener!
): Unit

updateConstraints

Added in 2.2.0
fun updateConstraints(id: Int, width: Float, height: Float): Unit

updateConstraints for the view with the id and width and height

Parameters
id: Int
width: Float
height: Float