public interface

DragStartHelper.OnDragStartListener

 androidx.core.view.DragStartHelper.OnDragStartListener

Overview

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

Summary

Methods
public booleanonDragStart(View v, DragStartHelper helper)

Called when a drag start gesture has been detected.

Methods

public boolean onDragStart(View v, DragStartHelper helper)

Called when a drag start gesture has been detected.

Parameters:

v: The view over which the drag start gesture has been detected.
helper: The DragStartHelper object which detected the gesture.

Returns:

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