Code example for AnimationDrawable

Methods: start

0
        boolean showError;
        boolean showPending;
        if (mIsActive) {
            syncActiveView.post(new Runnable() {
                public void run() { 
                    anim.start();
                } 
            }); 
            showPending = false;
            showError = false;
        } else { 
            anim.stop();
            if (mIsPending) {
                showPending = true;
                showError = false;
            } else { 
                showPending = false;
                showError = mFailed;
            } 
        } 
Stop searching for code, let great code find you!  Add Codota to your java IDE