Android Question really global variables

Herbert32

Active Member
Licensed User
Longtime User
Hi,

is it really true that i only can access a variable by 'ModuleWhereItsDeclared.VariableName' or is there a way to declare variables that they can be accessed simply by its name without the prefix of the modules-name where it has been declared?

with other words:

how to access the variable 'TrueGlobalVar' which has been declared in module 'xyz' from module 'abc' only by 'TrueGlobalVar' instead of 'xyz.TrueGlobalVar' ???

cheers
 
Top