ly.img.android.pesdk.ui.widgets / AdjustSlider / AdjustBarChangeListener / onProgressChanged

onProgressChanged

abstract fun onProgressChanged(seekBar: AdjustSlider!, value: Float, fromUser: Boolean): Unit

Notification that the progress level has changed. Clients can use the fromUser parameter to distinguish user-initiated changes from those that occurred programmatically.

Parameters

seekBar - AdjustSlider!: The SeekBar whose progress has changed

value - Float: The current progress level. This will be in the range min..max where max was set by #setMax(float) and min was set by #setMin(float). (The default value for max is 1.)

fromUser - Boolean: True if the progress change was initiated by the user.