RangeSlider.OnChangeListener

public static interface RangeSlider.OnChangeListener

com.google.android.material.slider.RangeSlider.OnChangeListener


Interface definition for a callback invoked when a slider's value is changed. This is called for all existing values. To check all the current values, use .

Summary

Public methods

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

Public methods

onValueChange

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

Parameters
slider RangeSlider

value float

fromUser boolean