Code example for OverScroller

Methods: computeScrollOffsetgetCurrX

0
			this.open = open;
		} 
 
		@Override 
		public void run() { 
			boolean more = mScroller.computeScrollOffset();
			if (more) {
				int x = mScroller.getCurrX();
				int diff = x - lastX;
				if (mHost.getLeft() > mMenuWidth) {
					mHandler.removeCallbacks(this);
					if (open) {
						mState = MENU_OPENED;
					} else { 
						mState = MENU_CLOSED;
					} 
					mHost.setLeft(mMenuWidth);
					return; 
				} 
				if (mHost.getLeft() < 0) {
Stop searching for code, let great code find you!  Add Codota to your java IDE