Code example for EdgeEffectCompat

0
		this.mMinimumVelocity = localViewConfiguration
				.getScaledMinimumFlingVelocity();
		this.mMaximumVelocity = localViewConfiguration
				.getScaledMaximumFlingVelocity();
		this.mLeftEdge = new EdgeEffectCompat(context);
		this.mRightEdge = new EdgeEffectCompat(context);
		this.mBaseLineFlingVelocity = (2500.0F * context.getResources()
				.getDisplayMetrics().density);
		this.mFlingVelocityInfluence = 0.4F;
	} 
 
	@Override 
	protected void onLayout(boolean changed, int l, int t, int r, int b) {
 
	} 
 
	public abstract interface OnPageChangeListener { 
		public abstract void onPageScrollStateChanged(int paramInt);
 
		public abstract void onPageScrolled(int paramInt1, float paramFloat,