Android Question To use or not to use Starter module

toby

Well-Known Member
Licensed User
Longtime User
My app is for Android only, not cross-platform.

The Starter module is used to declare some global variables; I prefer shorter names such as starter.myVariable over B4XPages.MainPage.myVariable.

To avoid problems down the road, should I move all codes away from the Starter module to somewhere else and leave the Starter module empty?
 

LucaMs

Expert
Licensed User
Longtime User
My app is for Android only, not cross-platform.
So you could use Starter without problems.

I prefer shorter names such as starter.myVariable over B4XPages.MainPage.myVariable
Short names? Create a code module named modV!
B4X:
modV.myVariable
(You could create a Sub Init in modV and call it when the app starts).
 
Last edited:
Upvote 0
Top