setMax

public BaseViewHolder setMax(int viewId, int max)

Sets the range of the ProgressBar to 0...max.

Return

BaseViewHolder for method chaining.

Parameters

viewId

The ID of the view.

max

The maximum value of the ProgressBar.