Difference between ChangeListener and InvalidationListener javafx

49 Views Asked by At

I have exams soon and my teacher just can't explain it. I've already read https://docs.oracle.com/javafx/2/api/javafx/beans/value/ObservableValue.html and don't understand the InvalidationListener. At what time is the ObservableValue recomputed so the InvalidationsListeners method invalidated would be executed? In which cases would the Listeners method run if I would use an ChangeListener but not if I would use an InvalidationListener?

0

There are 0 best solutions below