Titanium: register to system events
-
14-11-2019 - |
Frage
I'm looking for a way to create custom events on Titanium.
inorder to do that I would need to register to a global var array every time the window opens (not a problem) however, I would have to unregister every time the window is cleaned from the memory, the event that fires then is the E/TiBaseActivity(10448): (main) Layout cleanup
.
I would like to register to that event with a unregister function for the specific window.
is there a way to do that?
update:
well, I got an answer on the Titanium Q&A.
apparently there is a close
event that will fire everytime the window is closed.
Lösung
well, I got an answer on the Titanium Q&A.
apparently there is a close event that will fire everytime the window is closed.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow