lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 24.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1

DragStartHelper.OnDragStartListener

public static interface DragStartHelper.OnDragStartListener

android.support.v13.view.DragStartHelper.OnDragStartListener


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

Summary

Public methods

abstract boolean onDragStart(View v, DragStartHelper helper)

Called when a drag start gesture has been detected.

Public methods

onDragStart

added in version 24.1.0
boolean onDragStart (View v, 
                DragStartHelper helper)

Called when a drag start gesture has been detected.

Parameters
v View: The view over which the drag start gesture has been detected.

helper DragStartHelper: The DragStartHelper object which detected the gesture.

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