Code example for ImageSwitcher

Methods: showNext

0
		return sampleSize;
	} 
 
	@Override 
	public void onLongPress(MotionEvent e) { 
		mSwitcher.showNext();
	} 
 
	@Override 
	public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
	{ 
		return false; 
	} 
 
	@Override 
	public void onShowPress(MotionEvent e) { }
 
	@Override 
	public boolean onSingleTapUp(MotionEvent e)
	{ 
		return false;