private void reset ( ) { if ( mVelocityTracker != null ) { mVelocityTracker . recycle ( ) ; } mVelocityTracker = null ; mDownX = 0 ; mDownY = 0 ; mCurrentView = null ; mSwipingView = null ; mCurrentPosition = AdapterView . INVALID_POSITION ; mSwiping = false ; mCanDismissCurrent = false ; }
Resets the fields to the initial values ready to start over .