Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

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 DragStartHelper!: The DragStartHelper object which detected the gesture.
Return
Boolean True if the listener has started the drag operation, false otherwise.