Code example for Drawable

Methods: jumpToCurrentState

0
    } 
 
    @Override 
    public void jumpDrawablesToCurrentState() { 
        super.jumpDrawablesToCurrentState(); 
        if (mProgressDrawable != null) mProgressDrawable.jumpToCurrentState();
        if (mIndeterminateDrawable != null) mIndeterminateDrawable.jumpToCurrentState();
    } 
 
    @Override 
    public void postInvalidate() { 
        if (!mNoInvalidate) {
            super.postInvalidate(); 
        } 
    } 
 
    private class RefreshProgressRunnable implements Runnable {
 
        private int mId;
        private int mProgress;
        private boolean mFromUser;