Code example for ProgressBar

Methods: isIndeterminate

0
        } 
    } 
 
    public boolean isIndeterminate() { 
        if (mProgress != null) {
            return mProgress.isIndeterminate();
        } 
        return mIndeterminate;
    } 
     
    @Override 
    public void setMessage(CharSequence message) {
        if (mProgress != null) {
            if (mProgressStyle == STYLE_HORIZONTAL) {
                super.setMessage(message);
            } else { 
                mMessageView.setText(message);
            } 
        } else { 
            mMessage = message;
        }