TilesTimelineManager.Listener

interface TilesTimelineManager.Listener


Type to listen for layout updates from a given timeline.

Summary

Public methods

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

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

Public methods

onLayoutUpdate

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

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

Parameters
@NonNull int token

The token originally passed to TilesTimelineManager.

@NonNull LayoutElementBuilders.Layout layout

The new layout to use.