TilesTimelineManager.LayoutUpdateListener


interface TilesTimelineManager.LayoutUpdateListener


Type to listen for layout updates from a given timeline.

Summary

Public functions

Unit

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

Public functions

onLayoutUpdate

Added in 1.2.0
fun onLayoutUpdate(token: Int, layout: LayoutElementBuilders.Layout): Unit

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

Parameters
token: Int

The token originally passed to TilesTimelineManager.

layout: LayoutElementBuilders.Layout

The new layout to use.