Code example for ViewPager

Methods: onTouchEvent

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