android.support.v4.widget
Class SlidingPaneLayout.SimplePanelSlideListener

java.lang.Object
  extended by android.support.v4.widget.SlidingPaneLayout.SimplePanelSlideListener
All Implemented Interfaces:
SlidingPaneLayout.PanelSlideListener
Enclosing class:
SlidingPaneLayout

public static class SlidingPaneLayout.SimplePanelSlideListener
extends java.lang.Object
implements SlidingPaneLayout.PanelSlideListener

No-op stubs for SlidingPaneLayout.PanelSlideListener. If you only want to implement a subset of the listener methods you can extend this instead of implement the full interface.


Constructor Summary
SlidingPaneLayout.SimplePanelSlideListener()
           
 
Method Summary
 void onPanelClosed(android.view.View panel)
          Called when a sliding pane becomes slid completely closed.
 void onPanelOpened(android.view.View panel)
          Called when a sliding pane becomes slid completely open.
 void onPanelSlide(android.view.View panel, float slideOffset)
          Called when a sliding pane's position changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlidingPaneLayout.SimplePanelSlideListener

public SlidingPaneLayout.SimplePanelSlideListener()
Method Detail

onPanelSlide

public void onPanelSlide(android.view.View panel,
                         float slideOffset)
Description copied from interface: SlidingPaneLayout.PanelSlideListener
Called when a sliding pane's position changes.

Specified by:
onPanelSlide in interface SlidingPaneLayout.PanelSlideListener
Parameters:
panel - The child view that was moved
slideOffset - The new offset of this sliding pane within its range, from 0-1

onPanelOpened

public void onPanelOpened(android.view.View panel)
Description copied from interface: SlidingPaneLayout.PanelSlideListener
Called when a sliding pane becomes slid completely open. The pane may or may not be interactive at this point depending on how much of the pane is visible.

Specified by:
onPanelOpened in interface SlidingPaneLayout.PanelSlideListener
Parameters:
panel - The child view that was slid to an open position, revealing other panes

onPanelClosed

public void onPanelClosed(android.view.View panel)
Description copied from interface: SlidingPaneLayout.PanelSlideListener
Called when a sliding pane becomes slid completely closed. The pane is now guaranteed to be interactive. It may now obscure other views in the layout.

Specified by:
onPanelClosed in interface SlidingPaneLayout.PanelSlideListener
Parameters:
panel - The child view that was slid to a closed position