Code example for ViewPager

Methods: onInterceptTouchEvent

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