Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

ConstraintsChangedListener

public abstract class ConstraintsChangedListener
extends Object

java.lang.Object
   ↳ android.support.constraint.ConstraintsChangedListener


Added in 2.0

Callbacks on state change

Summary

Public constructors

ConstraintsChangedListener()

Public methods

void postLayoutChange(int stateId, int constraintId)

called after layout happens

void preLayoutChange(int stateId, int constraintId)

called before layout happens

Inherited methods

Public constructors

ConstraintsChangedListener

public ConstraintsChangedListener ()

Public methods

postLayoutChange

public void postLayoutChange (int stateId, 
                int constraintId)

called after layout happens

Parameters
stateId int: -1 if state unknown, otherwise the current state

constraintId int: the current constraintSet id we transitioned to

preLayoutChange

public void preLayoutChange (int stateId, 
                int constraintId)

called before layout happens

Parameters
stateId int: -1 if state unknown, otherwise the state we will transition to

constraintId int: the constraintSet id that we will transition to