Hi Friends,
Is there any way to pass a variable/parameter to an Activity, while calling the StartActivity()
For Eg
StartActivity("ActivityName", MyVariableValue)
Instead of creating several activities, if a parameter can be passed and then inside the Activity, based on the value of the received in the parameter, I can change the caption/text, Button_Click actions etc..
I know that I can use Process Global variables, which can be accessed from all activities, but I hate playing with the Public/Global variables unnecessarily. If there is a chance, I would avoid using Public/Global variables because the chances of logical mistakes creeping in are high and on a later date debugging the app may become a nightmare.
Any hint that points me to the right direction will be appreciated.
Regards
Anser
Is there any way to pass a variable/parameter to an Activity, while calling the StartActivity()
For Eg
StartActivity("ActivityName", MyVariableValue)
Instead of creating several activities, if a parameter can be passed and then inside the Activity, based on the value of the received in the parameter, I can change the caption/text, Button_Click actions etc..
I know that I can use Process Global variables, which can be accessed from all activities, but I hate playing with the Public/Global variables unnecessarily. If there is a chance, I would avoid using Public/Global variables because the chances of logical mistakes creeping in are high and on a later date debugging the app may become a nightmare.
Any hint that points me to the right direction will be appreciated.
Regards
Anser