on Contextual Toolbar Position Changed
open fun onContextualToolbarPositionChanged(@NonNull toolbar: ContextualToolbar, @Nullable oldPosition: ToolbarCoordinatorLayout.LayoutParams.Position, @NonNull newPosition: ToolbarCoordinatorLayout.LayoutParams.Position)
Called when the ContextualToolbar position has changed.
Parameters
toolbar
Toolbar which position has changed.
old Position
Old position, or null
if toolbar has been just shown.
new Position
New posiiton of the toolbar.