@Override public void onAnimationStart(Animation animation) { // Disable board mBoardView.setBoardEnabled(false); mBoardView.animationStarted(this.posAnim); }
@Override public void onAnimationEnd(Animation animation) { // TODO Auto-generated method stub mBoardView.invalidate(); mBoardView.animationEnded(posAnim, dy, posDest, xInitial); // Enable board mBoardView.setBoardEnabled(true); }