| com.pspdfkit.ui.toolbar.ToolbarCoordinatorLayout.OnContextualToolbarMovementListener |
Listener for ContextualToolbar movements inside the ToolbarCoordinatorLayout.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
onAttachContextualToolbar(ContextualToolbar toolbar)
Called when the
ContextualToolbar is attached to the layout and able to move around. | ||||||||||
| abstract void |
onDetachContextualToolbar(ContextualToolbar toolbar)
Called when the
ContextualToolbar is detached from the layout and able to move around. | ||||||||||
| abstract void |
onDragContextualToolbar(ContextualToolbar toolbar, int dx, int dy)
Called when the
ContextualToolbar is dragged. | ||||||||||
Called when the ContextualToolbar is attached to the layout and able to move around.
| toolbar | An attached contextual toolbar. |
|---|
Called when the ContextualToolbar is detached from the layout and able to move around.
| toolbar | A detached contextual toolbar. |
|---|
Called when the ContextualToolbar is dragged.
| toolbar | Toolbar that was dragged / moved. |
|---|---|
| dx | Pixels moved on the x-axis. |
| dy | Pixels moved on the y-axis. |