Please help me remove duplicate entries from the list using recursion or otherwise.
B4X:
Sub Globals
Private lst As List
Type record(c1, c2 As String)
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout")
lst.Initialize
Dim r As record
r.c1="i"
r.c2="y"
lst.add(r)
For i=0 To 1
Dim r As record
r.c1="i" & i
r.c2="y" & i
lst.add(r)
Next
Dim r As record
r.c1="i"
r.c2="y"
lst.add(r)
End Sub