Android Guides | Samples

Android.Views.View.IOnDragListener

Interface definition for a callback to be invoked when a drag is being dispatched to this view.

See Also: View+IOnDragListener

Syntax

[Android.Runtime.Register("android/view/View$OnDragListener", "", "Android.Views.View/IOnDragListenerInvoker")]
public interface View.IOnDragListener : IJavaObject, IDisposable

Remarks

Interface definition for a callback to be invoked when a drag is being dispatched to this view. The callback will be invoked before the hosting view's own onDrag(event) method. If the listener wants to fall back to the hosting view's onDrag(event) behavior, it should return 'false' from this callback.

Developer Guides

For a guide to implementing drag and drop features, read the Drag and Drop developer guide.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11

The members of Android.Views.View.IOnDragListener are listed below.

Public Methods

OnDrag(View, DragEvent) : Boolean
Called when a drag event is dispatched to a view.