Toolbar Coordinator Layout Controller
interface ToolbarCoordinatorLayoutController
An interface to be implemented by ToolbarCoordinatorLayout through which other components are enabled to control the toolbar movements, animations, etc.
Inheritors
Functions
Link copied to clipboard
Attach current contextual toolbar (if any) to the layout so it's unable to move.
Link copied to clipboard
Detach current contextual toolbar (if any) from the layout so it's able to move.
Link copied to clipboard
Sets the contextual toolbar to be displayed in the coordinator.
Link copied to clipboard
Called when the ContextualToolbar menu items have changed internally.
Link copied to clipboard
abstract fun onContextualToolbarPositionChanged(@NonNull toolbar: ContextualToolbar, @Nullable oldPosition: ToolbarCoordinatorLayout.LayoutParams.Position, @NonNull newPosition: ToolbarCoordinatorLayout.LayoutParams.Position)
Called when the ContextualToolbar position has changed.
Link copied to clipboard
Removes current contextual toolbar from the layout (if there is any).