Code example for EdgeEffectCompat

		this.mMinimumVelocity = localViewConfiguration
		this.mMaximumVelocity = localViewConfiguration
		this.mLeftEdge = new EdgeEffectCompat(context);
		this.mRightEdge = new EdgeEffectCompat(context);
		this.mBaseLineFlingVelocity = (2500.0F * context.getResources()
		this.mFlingVelocityInfluence = 0.4F;
	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,
Connect your IDE to all the code out there  Get Codota for Java