How to add setOnSeekBarChangeListener
abunayem opened this issue · 1 comments
abunayem commented
How can i add setOnSeekBarChangeListener in slider/seekbar? there is no method to call.
mgeissen commented
Material Slider dosen't inherit from Seekbar. Use setOnPositionChangeListener instead.
slider.setOnPositionChangeListener(new Slider.OnPositionChangeListener() {
@Override
public void onPositionChanged(Slider view, boolean fromUser, float oldPos, float newPos, int oldValue, int newValue) {
}
});