# OperationMonitor.OnChangeListener

Artifact: [androidx.recyclerview:recyclerview-selection](https://developer.android.com/jetpack/androidx/releases/recyclerview) [View Source](https://cs.android.com/search?q=file:androidx/recyclerview/selection/OperationMonitor.java+class:androidx.recyclerview.selection.OperationMonitor.OnChangeListener) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/recyclerview#1.0.0)

*** ** * ** ***


```
public interface OperationMonitor.OnChangeListener
```

<br />

*** ** * ** ***

Listen to changes in operation status. Authors should avoid changing the Adapter model while there are active operations.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/recyclerview/selection/OperationMonitor.OnChangeListener#onChanged()()` Called when operation status changes. |

## Public methods

### onChanged

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

```
abstract void onChanged()
```

Called when operation status changes. Call `https://developer.android.com/reference/androidx/recyclerview/selection/OperationMonitor#isStarted()` to determine the current status.