# TilesTimelineManager.LayoutUpdateListener

Artifact: [androidx.wear.tiles:tiles-renderer](https://developer.android.com/jetpack/androidx/releases/wear-tiles) [View Source](https://cs.android.com/search?q=file:androidx/wear/tiles/timeline/TilesTimelineManager.java+class:androidx.wear.tiles.timeline.TilesTimelineManager.LayoutUpdateListener) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

*** ** * ** ***


```
public interface TilesTimelineManager.LayoutUpdateListener
```

<br />

*** ** * ** ***

Type to listen for layout updates from a given timeline.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/wear/tiles/timeline/TilesTimelineManager.LayoutUpdateListener#onLayoutUpdate(int,androidx.wear.protolayout.LayoutElementBuilders.Layout)(int token, @https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/protolayout/LayoutElementBuilders.Layout layout)` Called when a timeline has a new layout to be displayed. |

## Public methods

### onLayoutUpdate

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
abstract void onLayoutUpdate(int token, @NonNull LayoutElementBuilders.Layout layout)
```

Called when a timeline has a new layout to be displayed.

| Parameters |
|---|---|
| `int token` | The token originally passed to `https://developer.android.com/reference/androidx/wear/tiles/timeline/TilesTimelineManager`. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/wear/protolayout/LayoutElementBuilders.Layout layout` | The new layout to use. |