code: protected boolean prepHolderForAnimateMove(final H holder, int fromX, int fromY, int toX, int toY) {
          final View view = holder.itemView;
          int deltaX = toX - fromX;
          int deltaY = toY - fromY;
          if (deltaX == 0 && deltaY == 0) {
              dispatchMoveFinished(holder);
              return false;
          }
          if (deltaX != 0) {
              ViewCompat.setTranslationX(view, -deltaX);
          }
          if (deltaY != 0) {
              ViewCompat.setTranslationY(view, -deltaY);
          }
          return true;
      }
docs: Do whatever you need to do before animation. *