Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2859 Zobrazení

Can we set setOnValueChangeListener() on Many2One field or  is there any other type of listerner for MANY2ONE field?

if yes ten a code snippet will b good cause I'm doin sumting like this

((OField)findViewById(R.id.access_class)).setOnValueChangeListener(new OField.IOnFieldValueChangeListener() {

@Override

public void onFieldValueChange(OField field, Object value) {

OLog.log(field.getFieldName()+" "+value.toString());

}

});

 and therz noting in the log

works well with Boolean type of field

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvn 17
8940
0
lis 16
4426
0
lis 16
3690
0
lis 16
4169
0
lis 16
4079