how Model.cpp can know when a screen is changed on the UI..
hi, i have a touchGFX app working smoothly with some business logic on other tasks; that's all good and well.
now some screens have to show frequent data from biz logic, and others not. so i'd like to make the biz logic controller aware of the screen currently on display.
i could easily put on every screen "setupScreen()" an action to push to Model and then to the "other task" the id of the screen currently on display..
BUT i really believe there should already be a "callback" for the Model object to be notified when a new Screen is being displayed (with some kind of ID.. i suppose there's an ENUM of all the Screen ID, right)..
so i'll ask here, to the more knowledgeable, if there's already this callbak on Model object.. this way, will do not reinvent the wheel..
Thanx
