I'm running a simple example program from the Listview example code
For some reason, this simple piece of code results in:
Sorry!
The application list view (process.ee.b4a.listview) has stopped unexpectedly. Please try again.
FORCE CLOSE
Any ideas?
I've tried on two different AVD setups. I have also seen this on another much more complex application I've written. It seems to have occurred after I downloaded the latest Java and Android SDK late last week.
B4X:
Sub Globals
Dim ListView1 As ListView
End Sub
Sub Activity_Create(FirstTime As Boolean)
ListView1.Initialize("ListView1")
For i = 1 To 300
ListView1.AddSingleLine("Item #" & i)
Next
Activity.AddView(ListView1, 0, 0, 100%x, 100%y)
End Sub
Sub ListView1_ItemClick (Position As Int, Value As Object)
Activity.Title = Value
End Sub
Sorry!
The application list view (process.ee.b4a.listview) has stopped unexpectedly. Please try again.
FORCE CLOSE
Any ideas?
I've tried on two different AVD setups. I have also seen this on another much more complex application I've written. It seems to have occurred after I downloaded the latest Java and Android SDK late last week.