Пример #1
0
 /**
  * Sets the {@link com.nhaarman.listviewanimations.itemmanipulation.dragdrop.OnItemMovedListener}
  * that is notified when user has dropped a dragging item.
  * <p/>
  * This method does nothing if the drag and drop functionality is not enabled.
  */
 public void setOnItemMovedListener(IOnItemMovedListener onItemMovedListener)
 {
     if (mDragAndDropHandler != null)
     {
         mDragAndDropHandler.setOnItemMovedListener(onItemMovedListener);
     }
 }
 /**
  * Sets the {@link com.nhaarman.listviewanimations.itemmanipulation.dragdrop.OnItemMovedListener}
  * that is notified when user has dropped a dragging item.
  * <p/>
  * This method does nothing if the drag and drop functionality is not enabled.
  */
 public void setOnItemMovedListener(IOnItemMovedListener onItemMovedListener)
 {
     if (mDragAndDropHandler != null)
     {
         mDragAndDropHandler.setOnItemMovedListener(onItemMovedListener);
     }
 }
 /**
  * Sets the {@link com.nhaarman.listviewanimations.itemmanipulation.dragdrop.OnItemMovedListener} that is notified when user has dropped a dragging item.
  */
 public void setOnItemMovedListener(IOnItemMovedListener onItemMovedListener)
 {
     mOnItemMovedListener = onItemMovedListener;
 }
 /**
  * Sets the {@link com.nhaarman.listviewanimations.itemmanipulation.dragdrop.OnItemMovedListener} that is notified when user has dropped a dragging item.
  */
 public void setOnItemMovedListener(IOnItemMovedListener onItemMovedListener)
 {
     mOnItemMovedListener = onItemMovedListener;
 }