I have a List of Maps, Maps are simple points, like (x,y)
I'm trying to check if the first list contains elements(maps) from the second list...
but I always get -1 as an index, even Maps are simple structures, just two integers, x and y
result, log, is on image
I'm trying to check if the first list contains elements(maps) from the second list...
B4X:
For i=0 To oList.Size -1
Dim m As Map=oList.Get(i)
startX= m.Get("x")
Log("X1:" & startX)
startY= m.Get("y")
Log("Y1:" & startY)
Dim x2 As Map=oArticles.Get(1)
Log("X2:" & x2.Get("x"))
Log("Y2:" & x2.Get("y"))
Log(oArticles.IndexOf(m))
but I always get -1 as an index, even Maps are simple structures, just two integers, x and y
result, log, is on image