Code example for ViewConfiguration

Methods: getScaledTouchSlop

0
			} else if (event.getAction() == MotionEvent.ACTION_UP) { 
				showSelector = false; 
				invalidate(getRefreshedSelectorBounds()); 
			} 
			boolean isScrolling = Math.abs(startY - event.getY()) > viewConfig 
					.getScaledTouchSlop(); 
			if (isScrolling) { 
				showSelector = false; 
				invalidate(getRefreshedSelectorBounds()); 
			} 
			gestureDetector.onTouchEvent(event); 
			return isScrolling; 
		} 
	}; 
	 
	private OnGlobalLayoutListener onGlobalLayoutListener = new ViewTreeObserver.OnGlobalLayoutListener()
    { 
        @Override 
        public void onGlobalLayout() 
        { 
    		if(headerChangedDuringLayout){