iOS Question [SOLVED] Can I show a CustomLayoutDialog this way?

Sandman

Expert
Licensed User
Longtime User
I have a code module.

I have a class that shows a CustomLayoutDialog.

From the code module, am I supposed to be able to use the class? It's entirely self reliant, I just call it like this:

B4X:
Dim CLDIALOGTEST As CL_DIALOG_TEST
CLDIALOGTEST.Initialize
CLDIALOGTEST.show

It doesn't work for me. (But it works just fine from an Activity in B4A.) Is this perhaps failing because the class is using the context from the code module?
 

Sandman

Expert
Licensed User
Longtime User
What happens when it doesn't work?

Nothing happened at all - nothing showed. But never mind, I restructured the code and removed some spaghet, and it came alive. Clearly a mistake by me somewhere. Sorry for the noise.
 
Upvote 0
Top