Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 1.0.0
belongs to Maven artifact androidx.core:core:1.0.0-rc01

DragStartHelper.OnDragStartListener

public static interface DragStartHelper.OnDragStartListener

androidx.core.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 1.0.0
public abstract 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.