Code example for ViewPager

Methods: onInterceptTouchEvent

0
	} 
 
	@Override 
	public boolean onInterceptTouchEvent(MotionEvent ev) {
		try { 
			return super.onInterceptTouchEvent(ev);
		} catch (IllegalArgumentException e) {
			e.printStackTrace();
			return false; 
		} 
	} 
 
}