Slider.OnChangeListener

public static interface Slider.OnChangeListener

com.google.android.material.slider.Slider.OnChangeListener


Interface definition for a callback invoked when a slider's value is changed.

Summary

Public methods

abstract void onValueChange(Slider slider, float value, boolean fromUser)

Public methods

onValueChange

public abstract void onValueChange (Slider slider, 
                float value, 
                boolean fromUser)

Parameters
slider Slider

value float

fromUser boolean