Code example for ViewGroup

Methods: addViewgetChildAtremoveView

0
		 */ 
		public void onScrollOverThreshold(); 
 
		/** 
		 * Invoke when state change 
		 *  
		 * @param state flag to describe scroll state 
		 * @see #STATE_IDLE 
		 * @see #STATE_DRAGGING 
		 * @see #STATE_SETTLING 
		 * @param scrollPercent scroll percent of this view 
		 */ 
		public void onScrollStateChange(int state, float scrollPercent);
	} 
 
	private class ViewDragCallback extends ViewDragHelper.Callback { 
		private boolean mIsScrollOverValid;
 
		@Override 
		public int clampViewPositionHorizontal(final View child, final int left, final int dx) {
			int ret = 0;