DragStartHelper.OnDragStartListener

Added in 1.1.0

public interface DragStartHelper.OnDragStartListener


Interface definition for a callback to be invoked when a drag start gesture is detected.

Summary

Public methods

abstract boolean

Called when a drag start gesture has been detected.

Public methods

onDragStart

Added in 1.1.0
abstract boolean onDragStart(@NonNull View v, @NonNull DragStartHelper helper)

Called when a drag start gesture has been detected.

Parameters
@NonNull View v

The view over which the drag start gesture has been detected.

@NonNull DragStartHelper helper

The DragStartHelper object which detected the gesture.

Returns
boolean

True if the listener has started the drag operation, false otherwise.