TilesTimelineManagerInternal.Listener

interface TilesTimelineManagerInternal.Listener


Type to listen for layout updates from a given timeline.

Summary

Public methods

abstract @NonNull void
onLayoutUpdate(
    @NonNull int token,
    @NonNull TimelineProto.TimelineEntry entry
)

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

Public methods

onLayoutUpdate

@NonNull
public abstract void onLayoutUpdate(
    @NonNull int token,
    @NonNull TimelineProto.TimelineEntry entry
)

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

Parameters
@NonNull int token

The token originally passed to TilesTimelineManagerInternal.

@NonNull TimelineProto.TimelineEntry entry

The new layout entry to use.