Code example for ProgressBar

Methods: setSecondaryProgress

0
        } 
    } 
 
    public void setSecondaryProgress(int secondaryProgress) {
        if (mSecondaryProgress != null) {
            mSecondaryProgress.setSecondaryProgress(secondaryProgress);
            onProgressChanged(); 
        } else { 
            mSecondaryProgressVal = secondaryProgress;
        } 
    } 
 
    public int getProgress() { 
        if (mProgress != null) {
            return mProgress.getProgress();
        } 
        return mProgressVal;
    } 
 
    public int getSecondaryProgress() { 
        if (mSecondaryProgress != null) {