ConstraintsChangedListener

public abstract class ConstraintsChangedListener
extends Object



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