Package com.pspdfkit.ui.toolbar
Interface ToolbarCoordinatorLayout.OnContextualToolbarPositionListener
-
- All Implemented Interfaces:
public interface ToolbarCoordinatorLayout.OnContextualToolbarPositionListener
Listener for ContextualToolbar position changes inside the .
-
-
Method Summary
Modifier and Type Method Description abstract void
onContextualToolbarPositionChanged(@NonNull() ContextualToolbar toolbar, @Nullable() ToolbarCoordinatorLayout.LayoutParams.Position oldPosition, @NonNull() ToolbarCoordinatorLayout.LayoutParams.Position newPosition)
Called when the ContextualToolbar position has changed. -
-
Method Detail
-
onContextualToolbarPositionChanged
abstract void onContextualToolbarPositionChanged(@NonNull() ContextualToolbar toolbar, @Nullable() ToolbarCoordinatorLayout.LayoutParams.Position oldPosition, @NonNull() ToolbarCoordinatorLayout.LayoutParams.Position newPosition)
Called when the ContextualToolbar position has changed.
- Parameters:
toolbar
- Toolbar which position has changed.oldPosition
- Old position, ornull
if toolbar has been just shown.newPosition
- New position of the toolbar.
-
-
-
-