# SharedValues.SharedValuesListener

Artifact: [androidx.constraintlayout:constraintlayout](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/widget/SharedValues.java+class:androidx.constraintlayout.widget.SharedValues.SharedValuesListener) Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

*** ** * ** ***


```
public interface SharedValues.SharedValuesListener
```

<br />

Known direct subclasses [ReactiveGuide](https://developer.android.com/reference/androidx/constraintlayout/widget/ReactiveGuide)

|---|---|
| `https://developer.android.com/reference/androidx/constraintlayout/widget/ReactiveGuide` | Utility class representing a reactive Guideline helper object for `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout`. |

*** ** * ** ***

interface for listeners

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/constraintlayout/widget/SharedValues.SharedValuesListener#onNewValue(int,int,int)(int key, int newValue, int oldValue)` |

## Public methods

### onNewValue

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
abstract void onNewValue(int key, int newValue, int oldValue)
```

| Parameters |
|---|---|
| `int key` |   |
| `int newValue` |   |
| `int oldValue` |   |