cancel
Showing results for 
Search instead for 
Did you mean: 

Screen to screen data transfer

KNara.2
Associate III

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?

1 REPLY 1
JTP1
Lead

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