void onItemMoved(){
  if (mSwappedItem != null && mStopDragPos != INVALID_DRAG_POS) {
    if (mDataChangeListener != null) {
      mDataChangeListener.onItemReorder(mSwappedItem,mStartDragPos,mStopDragPos);
    }
    final AdapterTransaction revertReorderTransaction=new RevertReorderTransaction<>(this,mStartDragPos,mStopDragPos);
    mTransactions.offer(revertReorderTransaction);
    mSwappedItem=null;
    mStopDragPos=INVALID_DRAG_POS;
  }
}

void onItemMoved ( ) { if ( mSwappedItem != null && mStopDragPos != INVALID_DRAG_POS ) { if ( mDataChangeListener != null ) { mDataChangeListener . onItemReorder ( mSwappedItem , mStartDragPos , mStopDragPos ) ; } final AdapterTransaction revertReorderTransaction = new RevertReorderTransaction < > ( this , mStartDragPos , mStopDragPos ) ; mTransactions . offer ( revertReorderTransaction ) ; mSwappedItem = null ; mStopDragPos = INVALID_DRAG_POS ; } }
called when item has been moved .
