Code example for ProgressBar

Methods: getSecondaryProgress

0
        return mProgressVal;
    } 
 
    public int getSecondaryProgress() { 
        if (mProgress != null) {
            return mProgress.getSecondaryProgress();
        } 
        return mSecondaryProgressVal;
    } 
 
    public int getMax() { 
        if (mProgress != null) {
            return mProgress.getMax();
        } 
        return mMax;
    } 
 
    public void setMax(int max) {
        if (mProgress != null) {
            mProgress.setMax(max);
            onProgressChanged();