Dear Community,
have my B4J App ready. Its a B4XPages app. Works perfect.
Now i want to move it to B4A also.
I have a Code-Module where i do the B4XDialog-Things.
There is the Public myDialog As B4XDialog and
also the Views in the Dialog and also the specific Events of theses Views located.
I (re-)use this global Dialog-Object in other Code Modules, in Standard Classes and in B4XPages Classes. I call some Subs in this Code-Module with some Parameters to show individual dialogs.
Nothing special so far.
There is the question:
Whats the best way to make such a construct working in B4A?
The Code Module breaks, i see.
Just move to Standard Class and do a Singleton?
greets
Patent