تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2881 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يونيو 17
8963
0
نوفمبر 16
4450
0
نوفمبر 16
3702
0
نوفمبر 16
4207
0
نوفمبر 16
4110