Пример #1
0
 /**
  * Sets the listener that receives a notification when the drawer starts or
  * ends a scroll. A fling is considered as a scroll. A fling will also
  * trigger a drawer opened or drawer closed event.
  *
  * @param onDrawerScrollListener
  *           The listener to be notified when scrolling starts or stops.
  */
 public void setOnDrawerScrollListener(OnDrawerScrollListener onDrawerScrollListener)
 {
     mOnDrawerScrollListener = onDrawerScrollListener;
 }
		/**
	 * Sets the listener that receives a notification when the drawer starts or
	 * ends a scroll. A fling is considered as a scroll. A fling will also
	 * trigger a drawer opened or drawer closed event.
	 * 
	 * @param onDrawerScrollListener
	 *           The listener to be notified when scrolling starts or stops.
	 */
		public void setOnDrawerScrollListener( OnDrawerScrollListener onDrawerScrollListener )
		{
			mOnDrawerScrollListener = onDrawerScrollListener;
		}