If you have a comboBox with a listener like this:
someCombo.addListener(new ValueChangeListener() {
@Override
public void valueChange(ValueChangeEvent event) {
// do something
}
});
That event is fired not only when the end-user changes the value in the UI, but also when you, in the code, change the data with setItem etc.
I find this rather annoying, and have resorted to removing the listener before populating data, and adding it again afterwards.
Is there not a listener that I can use that only is called when the end-user is changing the selected value?
The BlurListener and FocusListener will be fired regardless if the user changed the value or not, and that is not the desired effect either.