QMBForm
QMBForm copied to clipboard
Date Dialog and Picker row values not being updated
As the title says, the Date Dialog and Picker Row values do not update after the value is changed. When i use the sample fragment included, it works fine...but when i cut out just the rows I need, it stops working. Whenever the onValueChanged
method gets called, I can print the old and new value, and it is updating the values correctly, just not on the screen. I'm using the emulator if that makes any difference.
even the sample , Date Inline could not be clicked, and Date Dialog not change when selected date from dialog
I have the same problem. It works in the custom fragment provided but not in the annotated one. But in my code I cannot make it work whatever I do.
I have done a workaround to fix this problem.
Just update the form on value change:
@Override public void onValueChanged(RowDescriptor rowDescriptor, Value> oldValue, Value> newValue) { row.setValue(newValue); mFormManager.updateRows(); }