Code example for ViewFlipper

Methods: isFlippingstopFlipping

0
        } 
 
        @Override 
        public boolean onSingleTapConfirmed(MotionEvent e)
        { 
            if(myViewFlipper.isFlipping()){ //单击结束自动切换  
                myViewFlipper.stopFlipping();  
            }   
            return false; 
        } 
 
        @Override 
        public boolean onDoubleTap(MotionEvent e)
        { 
            myViewFlipper.startFlipping(); //双击自动切换界面  
            return true; 
        } 
 
        @Override 
        public boolean onDoubleTapEvent(MotionEvent e)