dimanche 25 juin 2017

Set variable globally

I have a problem I can't make it work. I want to have a global variable that is set when an Admin press a button. I made the button action, but can't make my variable to change and I don't know why.

So when an Admin click a button, it changes the value of the variable for all the app, because I want my views to show up depending on that variable.

Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire