TilesTimelineManager.Listener

interface TilesTimelineManager.Listener


Type to listen for layout updates from a given timeline.

Summary

Public methods

abstract void

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

Public methods

onLayoutUpdate

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 TilesTimelineManager.

@NonNull LayoutElementBuilders.Layout layout

The new layout to use.