2023-07-31 01:41 AM
Hi,
I wanted one data that I received from back end to be displayed in both in startup screen and screen2 which comes up after startup screen.
So once I receive the data from back end in startup screen via Model.cpp I have to save it in Model.cpp and when screen2 is called I have to read the stored data from model->screen2 presenter->screen2 view.
Now the question is should I store the data in static variable in Model.cpp?
2023-07-31 02:11 AM
Hello
I would add this variable to the model- class and then make a function for reading it from presenter :thumbs_up:
Br J.T