I cannot seem to find an answer anywhere to my question. Is there any event listener which can detect the changing of a boolean or other variable and then act on it. Or is it p
Very late to answer, but this is a problem that can be solved with Observer/Observable. Example