public static class SwipeRevealLayout.SimpleSwipeListener extends java.lang.Object implements SwipeRevealLayout.SwipeListener
SwipeRevealLayout.SwipeListener. If you only want ot implement a subset
of the listener methods, you can extend this instead of implement the full interface.| Constructor and Description |
|---|
SimpleSwipeListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onClosed(SwipeRevealLayout view)
Called when the main view becomes completely closed.
|
void |
onOpened(SwipeRevealLayout view)
Called when the main view becomes completely opened.
|
void |
onSlide(SwipeRevealLayout view,
float slideOffset)
Called when the main view's position changes.
|
public void onClosed(SwipeRevealLayout view)
SwipeRevealLayout.SwipeListeneronClosed in interface SwipeRevealLayout.SwipeListenerpublic void onOpened(SwipeRevealLayout view)
SwipeRevealLayout.SwipeListeneronOpened in interface SwipeRevealLayout.SwipeListenerpublic void onSlide(SwipeRevealLayout view, float slideOffset)
SwipeRevealLayout.SwipeListeneronSlide in interface SwipeRevealLayout.SwipeListenerslideOffset - The new offset of the main view within its range, from 0-1