public static interface
DragGestureRecognizer.OnGestureStartedListener
DragGestureRecognizer.OnGestureStartedListener
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[null,null,["Last updated 2024-06-26 UTC."],[[["`DragGestureRecognizer.OnGestureStartedListener` provides callbacks when a `DragGesture` begins."],["This interface inherits a method, `onGestureStarted()`, from `BaseGestureRecognizer.OnGestureStartedListener`, which is called when a drag gesture starts."],["The `onGestureStarted()` method receives a `DragGesture` object as an argument, providing information about the gesture that just began."]]],["The `DragGestureRecognizer.OnGestureStartedListener` interface defines a callback for when a `DragGesture` begins. It inherits from `BaseGestureRecognizer.OnGestureStartedListener` and includes the `onGestureStarted` method. This method, when implemented, is invoked with the `DragGesture` instance as a parameter, signaling the start of the drag interaction. This listener is used to perform actions at the start of a drag gesture.\n"]]