The Android Developer Challenge is back! Submit your idea before December 2.

OnDragStartListener

interface 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

Called when a drag start gesture has been detected.

Public methods

onDragStart

abstract fun onDragStart(v: View!, helper: DragStartHelper!): Boolean

Called when a drag start gesture has been detected.

Parameters
v View!: The view over which the drag start gesture has been detected.
helper View!: The DragStartHelper object which detected the gesture.
Return
Boolean: True if the listener has started the drag operation, false otherwise.