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
 |