Code example for ViewPager

Methods: canScroll

0
	@Override 
	protected boolean canScroll(View v, boolean checkV, int dx, int x, int y) { 
		if (v instanceof SurfaceView || v instanceof PagerTitleStrip) 
			return true; 
 
		return super.canScroll(v, checkV, dx, x, y); 
	} 
}