update For Progress
open fun updateForProgress(@FloatRange(from = 0.0, to = 1.0 ) progress: Float, @FloatRange(from = 0.0, to = 1.0 ) targetValue: Float, @NonNull indicator: View)
Called whenever the indicator should update its parameters (scale, alpha, etc.) in response to a change in progress.
Parameters
progress
A value between 0 and 1 where 0 represents a fully hidden indicator and 1 indicates a fully shown indicator.
target Value
The final value towards which the progress is moving. This will be either 0 and 1 and can be used to determine whether the indicator is showing or hiding if show and hide animations differ.
indicator
The active indicator View.