-
- All Implemented Interfaces:
-
app.habitap.swipereveallayout.SwipeRevealLayout.SwipeListener
public final class SwipeRevealLayout.SimpleSwipeListener implements SwipeRevealLayout.SwipeListener
No-op stub for SwipeListener. If you only want ot implement a subset of the listener methods, you can extend this instead of implement the full interface.
-
-
Constructor Summary
Constructors Constructor Description SwipeRevealLayout.SimpleSwipeListener()
-
Method Summary
Modifier and Type Method Description UnitonClosed(SwipeRevealLayout view)Called when the main view becomes completely closed. UnitonOpened(SwipeRevealLayout view)Called when the main view becomes completely opened. UnitonSlide(SwipeRevealLayout view, Float slideOffset)Called when the main view's position changes. -
-
Method Detail
-
onClosed
Unit onClosed(SwipeRevealLayout view)
Called when the main view becomes completely closed.
-
onOpened
Unit onOpened(SwipeRevealLayout view)
Called when the main view becomes completely opened.
-
onSlide
Unit onSlide(SwipeRevealLayout view, Float slideOffset)
Called when the main view's position changes.
- Parameters:
slideOffset- The new offset of the main view within its range, from 0-1
-
-
-
-