Values

constructor(text: String, @FloatRange(from = 0.0, to = 1.0) percent: Float)

Parameters

text

text to be shown in the popup when the item is selected

percent

the value of the bar itself, should be a range between 0.0f and 1.0f. If it exceeds, it'll be clamped