In Globals: Private Panel1 As Panel
Panel1 is made in designer so initializing is not necessary. I know
Panel1.Initialize("Panel1")
clvNummers.Initialize(Me, "clvNummers")
Log(clvNummers.IsInitialized)
Log(Panel1.IsInitialized)
Panel1.AddView(clvNummers.AsView, 0, 0, Panel1.Width, Panel1.Height)
with or without the line Panel1.Initialize("Panel1") both logs give TRUE
The line Panel1.addview.... gives: java.lang.RuntimeException: Object should first be initialized (B4XView).
What did I do wrong?
Panel1 is made in designer so initializing is not necessary. I know
Panel1.Initialize("Panel1")
clvNummers.Initialize(Me, "clvNummers")
Log(clvNummers.IsInitialized)
Log(Panel1.IsInitialized)
Panel1.AddView(clvNummers.AsView, 0, 0, Panel1.Width, Panel1.Height)
with or without the line Panel1.Initialize("Panel1") both logs give TRUE
The line Panel1.addview.... gives: java.lang.RuntimeException: Object should first be initialized (B4XView).
What did I do wrong?