What type do I use to declare the Drawer object. The instructions say to initialize the drawer object but I think I have to declare it first and I do not know the Type to use.
I am trying to follow that and there is no Declaration statement in the Sub Globals in the so-called example. Is this not required as I get the error Undeclared variable 'variableName' is used before it was assigned any value?
Hence my question about Declaration and the Type to use as this isn't included in the example.
Sub Globals
Private ACToolBarLight1 As ACToolBarLight
Private ToolbarHelper As ACActionBar
Private Drawer As B4XDrawer ' HERE. Note that the Type is the name of the Classfile. Here B4XDrawer
Private ListView1 As ListView
End Sub