@ Override public void onViewPositionChanged ( View changedView , int left , int top , int dx , int dy ) { if ( draggableView . isDragViewAtBottom ( ) ) { draggableView . changeDragViewViewAlpha ( ) ; } else { draggableView . restoreAlpha ( ) ; draggableView . changeDragViewScale ( ) ; draggableView . changeDragViewPosition ( ) ; draggableView . changeSecondViewAlpha ( ) ; draggableView . changeSecondViewPosition ( ) ; draggableView . changeBackgroundAlpha ( ) ; } }
Override method used to apply different scale and alpha effects while the view is being dragged .