Hi Guys,
I have the following code:
And I get the Error java.IndexOutOfBounds Exception in the following line: titelliste.RemoveAt(intlist.Get(p))
But I dont know what I´m doing wrong
Hope you guys can help me
I have the following code:
B4X:
For k = 0 To (myMap.Size / 7) -1
If slist.Get(k)= Value Then
Else
intlist.Add(k)
End If
Next
Dim p As Int
For p = 0 To intlist.Size
titelliste.RemoveAt(intlist.Get(p))
Next
And I get the Error java.IndexOutOfBounds Exception in the following line: titelliste.RemoveAt(intlist.Get(p))
But I dont know what I´m doing wrong
Hope you guys can help me