# BaseGridView.OnLayoutCompletedListener

Artifact: [androidx.leanback:leanback-grid](https://developer.android.com/jetpack/androidx/releases/leanback) [View Source](https://cs.android.com/search?q=file:androidx/leanback/widget/BaseGridView.java+class:androidx.leanback.widget.BaseGridView.OnLayoutCompletedListener) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.0.0)

*** ** * ** ***


```
public interface BaseGridView.OnLayoutCompletedListener
```

<br />

*** ** * ** ***

Interface for receiving notification when BaseGridView has completed a full layout calculation.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/leanback/widget/BaseGridView.OnLayoutCompletedListener#onLayoutCompleted(androidx.recyclerview.widget.RecyclerView.State)(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView.State state)` Called after a full layout calculation is finished. |

## Public methods

### onLayoutCompleted

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

```
abstract void onLayoutCompleted(@NonNull RecyclerView.State state)
```

Called after a full layout calculation is finished.

| Parameters |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView.State state` | Transient state of RecyclerView |