TilesTimelineManager.Listener

public static interface TilesTimelineManager.Listener

androidx.wear.tiles.timeline.TilesTimelineManager.Listener


Type to listen for layout updates from a given timeline.

Summary

Public methods

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

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

Public methods

onLayoutUpdate

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

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.