set On Contextual Toolbar Position Listener
open fun setOnContextualToolbarPositionListener(@Nullable positionListener: ToolbarCoordinatorLayout.OnContextualToolbarPositionListener)
Sets the listener for ContextualToolbar position changes within the layout. Calling this method will replace any previously set listener. You may provide null
to clear the listener.
Parameters
position Listener
OnContextualToolbarPositionListener that should be notified, or null
to clear the listener.