Hello everybody.
I am trying to put my code from B4A into Android Studio.
I am stuck with Type and comparator. In B4A i do it very easy .
Can somebody help ?. Thank you .
I am trying to put my code from B4A into Android Studio.
I am stuck with Type and comparator. In B4A i do it very easy .
B4X:
Dim field As Person
field.date = date
field.description = description
field.amount = amount
list1.Add(field)
list1.SortType("date", False)
For i = 0 To list1.Size - 1
Dim field2 As Person
field2 = list1.Get(i)