-
public interface DraggerReports user drag behavior on the screen to a DragListener.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceDragger.DragListener
-
Method Summary
Modifier and Type Method Description abstract voidactivate(@NonNull() Dragger.DragListener dragListener, @NonNull() Point dragStartCenterPosition)Starts reporting user drag behavior given a drag area represented by {@code controlBounds}.abstract voiddeactivate()Stops monitoring and reporting user drag behavior. abstract voidenableDebugMode(boolean debugMode)Enable/Disable debug mode. -
-
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 behaviordragStartCenterPosition- 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
-
-
-
-