Most visited

Recently visited

ViewCompat

public class ViewCompat
extends ViewCompat

java.lang.Object
   ↳ android.support.v4.view.ViewCompat
     ↳ android.support.v13.view.ViewCompat


Helper for accessing features in View introduced after API level 13 in a backwards compatible fashion.

Summary

Inherited constants

From class android.support.v4.view.ViewCompat

Public methods

static void cancelDragAndDrop(View v)

Cancel the drag and drop operation.

static boolean startDragAndDrop(View v, ClipData data, View.DragShadowBuilder shadowBuilder, Object localState, int flags)

Start the drag and drop operation.

static void updateDragShadow(View v, View.DragShadowBuilder shadowBuilder)

Update the drag shadow while drag and drop is in progress.

Inherited methods

From class android.support.v4.view.ViewCompat
From class java.lang.Object

Public methods

cancelDragAndDrop

void cancelDragAndDrop (View v)

Cancel the drag and drop operation.

Parameters
v View

startDragAndDrop

boolean startDragAndDrop (View v, 
                ClipData data, 
                View.DragShadowBuilder shadowBuilder, 
                Object localState, 
                int flags)

Start the drag and drop operation.

Parameters
v View
data ClipData
shadowBuilder View.DragShadowBuilder
localState Object
flags int
Returns
boolean

updateDragShadow

void updateDragShadow (View v, 
                View.DragShadowBuilder shadowBuilder)

Update the drag shadow while drag and drop is in progress.

Parameters
v View
shadowBuilder View.DragShadowBuilder

Hooray!