Slider, difference between IAdjustmentEventListener and ISliderEventListener

Slider, difference between IAdjustmentEventListener and ISliderEventListener

BY 26 Jul 2014 Native Application Development

Hey,

What is the purpose of having (seemingly) two identical(?) listener for a Slider change?

ISliderEventListener 
The ISliderEventListener interface is the listener interface for receiving Slider events, which are fired when the slider knob moves
virtual void  OnSliderBarMoved (Tizen::Ui::Controls::Slider &source, int value)=0

IAdjustmentEventListener 
The IAdjustmentEventListener interface is the listener interface for receiving adjustment events, which are fired when the knob of a Slider moves
virtual void  OnAdjustmentValueChanged (const Tizen::Ui::Control &source, int adjustment)=0

Ok, I see one gets a value, other adjustment, but the value can always be read out from the slider, so using the ISliderEventListener makes not much sense.

Or I miss something?

Written by