Code example for ProgressBar

Methods: getMaxsetProgress

0
    public void onReleaseToRefresh() { 
        if (mHeaderTextView != null) {
            mHeaderTextView.setText(mReleaseLabel);
        } 
        if (mHeaderProgressBar != null) {
            mHeaderProgressBar.setProgress(mHeaderProgressBar.getMax());
        } 
    } 
 
    @Override 
    public void onRefreshMinimized() { 
        //To change body of implemented methods use File | Settings | File Templates. 
    } 
 
    /** 
     * Set Text to show to prompt the user is pull (or keep pulling). 
     * @param pullText - Text to display. 
     */ 
    public void setPullText(CharSequence pullText) {
        mPullRefreshLabel = pullText;
        if (mHeaderTextView != null) {