Package 

Interface Dragger

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface Dragger.DragListener
    • Method Summary

      Modifier and Type Method Description
      abstract void activate(@NonNull() Dragger.DragListener dragListener, @NonNull() Point dragStartCenterPosition) Starts reporting user drag behavior given a drag area represented by {@code controlBounds}.
      abstract void deactivate() Stops monitoring and reporting user drag behavior.
      abstract void enableDebugMode(boolean debugMode) Enable/Disable debug mode.
      • Methods inherited from class java.lang.Object

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

      • activate

         abstract void activate(@NonNull() Dragger.DragListener dragListener, @NonNull() Point dragStartCenterPosition)

        Starts reporting user drag behavior given a drag area represented by {@code controlBounds}.

        Parameters:
        dragListener - listener that receives information about drag behavior
        dragStartCenterPosition - initial touch point to start dragging
      • deactivate

         abstract void deactivate()

        Stops monitoring and reporting user drag behavior.

      • enableDebugMode

         abstract void enableDebugMode(boolean debugMode)

        Enable/Disable debug mode. In debug mode this Dragger will paint its touch area with atranslucent color.

        Parameters:
        debugMode - true for debug mode, false otherwise