For my master thesis I’m doing an app that counts points if the user completes some challenges.
This variable is shown in the bottom-right-corner, I have transformed this in a Master that’s being used on multiple pages.
I’ve made a global variable CounterVar that’s set to 0.
If the challenge has been completed counterVar sets text to [[CounterVar+10]].
That is what I want and works great.
But if I go into another page of the app the CounterVar sets back to 0. So all received points are being lost. Does anyone know how I can fix this?
Thanks a lot!!!