Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim My_List() As String = Array As String("Zucca","Bar","Birra","Carta","Cintura","Diario","Dado","Fulmine","Asterisco","Elica","Tifone","Danno","Tattica","Cane","Falsario","Estero","Faro","Acqua","Asso")
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private AlfabetListView1 As AlfabetListView
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")
Activity.LoadLayout("main")
AlfabetListView1.GetBase.Visible=False
For i=0 To My_List.Length-1
If I Mod 2 = 0 Then
AlfabetListView1.Add(My_List(i),i,LoadBitmap(File.DirAssets,"arrow.png"))
Else
AlfabetListView1.Add(My_List(i),i,Null)
End If
Next
AlfabetListView1.GetBase.Visible=True
End Sub