IT. Expert System.

Android Reference

View.OnDragListener


android.view

Interface View.OnDragListener

  • Enclosing class:
    View


    public static interface View.OnDragListener
    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.

    • Method Summary

      Methods
      Modifier and Type Method and Description
      boolean onDrag(View v, DragEvent event)
      Called when a drag event is dispatched to a view.
    • Method Detail

      • onDrag

        boolean onDrag(View v,
                     DragEvent event)
        Called when a drag event is dispatched to a view. This allows listeners to get a chance to override base View behavior.
        Parameters:
        v - The View that received the drag event.
        event - The DragEvent object for the drag event.
        Returns:
        true if the drag event was handled successfully, or false if the drag event was not handled. Note that false will trigger the View to call its onDragEvent() handler.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 14039 / 248374678. Delta: 0.03030 с