I’m trying to use a CCControlSlider with Javabinding. I ported the javabindings from Version 3.0Alpha to Version 2.x. I noticed that the CCControl in 3.0Alpha has no addTargetWithActionForControlEvent() binding method. I usually do in Html5:
controlslider.addTargetWithActionForControlEvent(layer, layer.valueChangedCallback, cc.CONTROL_EVENT_VALUECHANGED);
to detect when the slider value has been changed, but with Javabindings I cannot do this. Is there an alternative way to detect this or should I create a manual binding for that ?