public static interface SlidingPaneLayout.PanelSlideListener
Modifier and Type | Method and Description |
---|---|
void |
onPanelClosed(View panel)
Called when a sliding pane becomes slid completely closed.
|
void |
onPanelOpened(View panel)
Called when a sliding pane becomes slid completely open.
|
void |
onPanelSlide(View panel,
float slideOffset)
Called when a sliding pane's position changes.
|
void onPanelSlide(View panel, float slideOffset)
panel
- The child view that was movedslideOffset
- The new offset of this sliding pane within its range, from 0-1void onPanelOpened(View panel)
panel
- The child view that was slid to an open position, revealing other panesvoid onPanelClosed(View panel)
panel
- The child view that was slid to a closed position