TilesTimelineManager.LayoutUpdateListener


public interface TilesTimelineManager.LayoutUpdateListener


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

Added in 1.2.0
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.