Android Question [SOLVED] B4XDrawer error ParameterizedType

makis_best

Well-Known Member
Licensed User
Longtime User
Hi

I get the error when I try to load loadlayout.

The code I use for that
B4X:
Sub Globals
    Private Drawer As B4XDrawer
    Private ACToolBarLight1 As ACToolBarLight
    Private ToolbarHelper As ACActionBar
    Private Panel1 As Panel
End Sub

Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    'Activity.LoadLayout("Layout1")
     Drawer.Initialize(Me, "Drawer", Activity, 250dip)
    Drawer.CenterPanel.LoadLayout("EISRITA")
    ACToolBarLight1.Title = "Sales Number " & SalesmanName
    ACToolBarLight1.SubTitle = "Nothing to show"
......

always crash here
Public Sub getCenterPanel As B4XView
Return mCenterPanel
End Sub

and the error

 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…