Revision history [back]

click to hide/show revision 1
initial version

asked 2012-10-30 11:28:05 +0800

mkommer gravatar image mkommer

MVVM : @NotifyChange

i would like if it is possible to have some chain of notifychange.

For example,

a setter is called and it has a @NotifyChange for some attributes, but in the setter method, others methods are called and have their own @NotifyChange.

It seems the children are not called. Is there a way to do it ?

Thank you.

@NotifyChange({"myVar"})
public void setMyVar(String myVar) {
      this.myVar = myVar;
      if myVar.equals("test") {
            loadInterface();
      }
}

// Seems NotifyChange not be called
@NotifyChange({"tata", "titi", "tutu"})
public void loadInterface() {
    tata = "ok";
    titi = "nok";
    tutu = "NA";
}
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More