code: public void setCustomDragItem(DragItem dragItem) {
          DragItem newDragItem = dragItem != null ? dragItem : new DragItem(getContext());
          newDragItem.setSnapToTouch(mDragItem.isSnapToTouch());
          mDragItem = newDragItem;
          mRootLayout.removeViewAt(1);
          mRootLayout.addView(mDragItem.getDragItemView());
      }
docs: Set a custom drag item to control the visuals and animations when dragging a list item.