Package 

Interface SwipeRevealLayout.SwipeListener

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onClosed(SwipeRevealLayout view) Called when the main view becomes completely closed.
      abstract Unit onOpened(SwipeRevealLayout view) Called when the main view becomes completely opened.
      abstract Unit onSlide(SwipeRevealLayout view, Float slideOffset) Called when the main view's position changes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onSlide

         abstract 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