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
abstract fun displayContextualToolbar(@NonNull toolbar: ContextualToolbar, animate: Boolean)
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 removeContextualToolbar(animate: Boolean)
Removes current contextual toolbar from the layout (if there is any).