Solved
change screen from Model.cpp
Hi I'd like to change screen from Model.cpp, regardless the screen I'm currently in.
Is there a solution without implementing a method that changescreen in each screens ?
Thanks !
Hi I'd like to change screen from Model.cpp, regardless the screen I'm currently in.
Is there a solution without implementing a method that changescreen in each screens ?
Thanks !
I think it is not recommended way to change screen directly from Model.cpp, because classes generated by touchgfx are based on Model-View-Presenter design pattern. It will take a little more steps, but I think it is safer way using ModelListener.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.