I've been playing around with classes and looking at the java underneath that's actually running it all. I have a simple project with the Main activity, and one standard b4x class (cls1) that contains the following code:
Sub Class_Globals
Private view1 As View
End Sub
Public Sub Initialize...