# AsyncListDiffer.ListListener

Artifact: [androidx.recyclerview:recyclerview](https://developer.android.com/jetpack/androidx/releases/recyclerview) [View Source](https://cs.android.com/search?q=file:androidx/recyclerview/widget/AsyncListDiffer.java+class:androidx.recyclerview.widget.AsyncListDiffer.ListListener) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/recyclerview#1.1.0)

*** ** * ** ***


```
public interface AsyncListDiffer.ListListener<T>
```

<br />

*** ** * ** ***

Listener for when the current List is updated.

| Parameters |
|---|---|
| `<T>` | Type of items in List |

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/recyclerview/widget/AsyncListDiffer.ListListener#onCurrentListChanged(java.util.List<T>,java.util.List<T>)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<T> previousList, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<T> currentList )` Called after the current List has been updated. |

## Public methods

### onCurrentListChanged

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

```
abstract void onCurrentListChanged(
    @NonNull List<T> previousList,
    @NonNull List<T> currentList
)
```

Called after the current List has been updated.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<T> previousList` | The previous list. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<T> currentList` | The new current list. |