Code example for ViewFlipper

Methods: stopFlipping, setInAnimation, setOutAnimation, showNext

0
	 * Fling right. 
	 */ 
	public void flingRight() { 
 
		//Stop timed flipping 
		flipper.stopFlipping();
 
		//Set the fling animation based on the direction of the fling 
		flipper.setInAnimation(inFromRightAnimation(true));
		flipper.setOutAnimation(outToLeftAnimation(true));
 
		//Show the new view 
		flipper.showNext();
 
	} 
 
	/** 
	 * Update values. 
	 * 
	 * @param collectorThread the collector thread 
	 */