Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2878 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
giu 17
8963
0
nov 16
4449
0
nov 16
3702
0
nov 16
4206
0
nov 16
4106