Code example for ViewFlipper

Methods: getCurrentView

0
 
        flipCardOver(); 
    } 
 
    public boolean isEstimateViewIsShowing() { 
        return mFlipper.getCurrentView().getId() == ESTIMATE_VIEW;
    } 
 
    private void flipCardOver() { 
        AnimationFactory.flipTransition(mFlipper, FlipDirection.LEFT_RIGHT);
 
        if (isEstimateViewIsShowing()) { 
            mUpArrow.setClickable(true);
            mDownArrow.setClickable(true);
        } else { 
            mUpArrow.setClickable(false);
            mDownArrow.setClickable(false);
        } 
    } 
 
Connect your IDE to all the code out there  Get Codota for Java