public BaseViewHolder setMax(int viewId, int max) {
        ProgressBar view = getView(viewId);
        view.setMax(max);
        return this;
    }
Sets the range of a ProgressBar to 0...max.

@param viewId The view id.
@param max    The max value of a ProgressBar.
@return The BaseViewHolder for chaining.
common/src/main/java/com/sxjs/common/base/baseadapter/BaseViewHolder.java