I have put a listview on my form, but when i run in debug or release, I get an error that I need to initialize. even if I initialize, it sill shows up blank.
not sure if I am missing something..
B4X:
Sub Class_Globals
Private lvEmailTo As ListView
End Sub
B4X:
Sub LoadEmailList
Dim su As StringUtils
EmailList = su.LoadCSV(Main.WrkFld, csvName, csvChar)
'lvEmailTo.Initialize("lvEmailTo")
For Each Row() As String In EmailList
For Each Col As String In Row
Dim lbl As Label
lbl.Initialize("")
lbl.Text = SharedMod.DecToString(Col)
lbl.Font = fx.DefaultFont(14)
lvEmailTo.Items.Add(lbl)
Log(lbl.Text)
Next
Next
End Sub
Sub email_Closed
not sure if I am missing something..