I have a ListViewNummern with 2 Labels - both with text only.
Now i want to read out the SecondLabel.Text, but always shows me this exception:
Here is my code for this part:
But I can see the content of the secondlabel in my ListView - so why is there this error ?
Now i want to read out the SecondLabel.Text, but always shows me this exception:
B4X:
(NumberFormatException) java.lang.NumberFormatException: empty String
Here is my code for this part:
B4X:
Private Sub ListViewNummern_ItemClick (Position As Int, Value As Object)
Dim Vally As String
Try
Vally = ListViewNummern.GetItem(ListViewNummern.TwoLinesAndBitmap.SecondLabel.Text)
Log("Vally: " & Vally)
Catch
Log(LastException)
End Try
End Sub
But I can see the content of the secondlabel in my ListView - so why is there this error ?